Re: Empty string becomes null on submit

2007-01-22 Thread Inge Solvoll
Actually, I didn't expect this behaviour. And I'm pretty sure it worked a couple of months ago. It seems perfectly natural to me that an empty string submitted from the user should actually become an empty string in java. Inge On 11/30/06, Ron Piterman <[EMAIL PROTECTED]> wrote: afaik this is

Re: Empty string becomes null on submit

2006-11-30 Thread Ron Piterman
afaik this is the normal behaviour: empty fields set the property to null. Cheers, Ron Inge Solvoll wrote: I've suddenly gotten a problem in my code. When I enter nothing into a text field on a tapestry page and submit, the corresponding abstract getter method returns null instead of empty stri

Empty string becomes null on submit

2006-11-30 Thread Inge Solvoll
I've suddenly gotten a problem in my code. When I enter nothing into a text field on a tapestry page and submit, the corresponding abstract getter method returns null instead of empty string "". I have checked my code, and nothing has changed, this used to work before. I haven't upgraded any of th