You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by August Detlefsen <au...@yahoo.com> on 2002/02/23 03:08:30 UTC
updating with
I realize that the spec says:
If a request parameter has an empty or null value, the
corresponding bean property is not set.
But, is there a way to make this work for updates when you actually
want to remove a value from the bean?
Lets say I have a contact manager app and I want to delete a value from
a field (for example, my colleague no longer has a phone extension). I
delete the value from the form and submit to a page that uses:
<jsp:setProperty name="mybean" property="*" />
Since the phone extension field is now empty or null, that new value
never gets passed to my bean.
Does anyone have a way around this short of setting each property
individually?
Thanks,
August
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>