Hi there, is there a configuration setting for Struts which tells it to set a property
on a form
bean of type Integer (not int) to null instead of new Integer(0) when the
corresponding value
coming in from the user's form is an empty string?
I had to create a plugin that had the following in
That's the expected behavior. At the bottom of
http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes:
And, of course, while the DynaActionForm may support various binary types,
properties used with the html:text tag should still be String properties.
Well, it really has nothing to do with the type of tag I am using be it
radio,checkbox,text; I just
wanted to know if there is a declarative way to override the default values used by
BeanUtils in
Struts. Or is putting the code (from my previous message) in a plug-in the best
practice?
In my
3 matches
Mail list logo