A null value won´t work for me, because I have to Map these values via Castor to XML and as result null values were deleted in Castor. At this point I need an empty String to make sure the value is mapped in Castor.
Thanks for the proposal anyway, the solution above (Ernestos proposal) works fine for me! jensiator wrote: > > My experience is that null values a nice to use. What if you have a > optional email field? When the user starts to write something the email > validation kicks in. I think a lot of wickets validators uses Null in that > case. And I have used that i JSP/Struts programming to. I think its better > to handle the null values when you later use the model to do something. > > Jens Alenius > > > > -- View this message in context: http://www.nabble.com/how-to-avoid-value-set-to-null-if-value-of-textfield-gets-deleted-tp22198221p22203182.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
