Paul Ferraro <pmf8 <at> columbia.edu> writes:
> 
> I think the easiest way to change this behavior globally is to implement 
> your own TextField component:
> 
> public abstract class TextField extends org.apache.tapestry.form.TextField
> {
>     public void updateValue(String value)
>     {
>         getValueBinding().setString(((value != null) && (value.length() 
>  > 0)) ? value : null);
>     }
> }

Thanks a lot Paul !
Ineed this is the easiest way ;) 
Personally I thought about some configuration magic and so on...

Regards
Dan




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to