Hello,
I need to use s:select with emptyoption="true" attribute. it works OK with
Strings but can't make it work with Integers. As empty option generates an
empty string option parameter value, Struts2 seems unable to convert it to a
null value if setter method in the Action is Integer. I get:

ognl.MethodFailedException: Method "setPlaceId" failed for object
com.servengine.pim.eventadminacti...@336f9bc6
[java.lang.NoSuchMethodException: setPlaceId([Ljava.lang.String;)]

(An array of Strings? I am just selecting the empty value... anyway...)

Any ideas or workarrounds. I would like to avoid moving all this type of
properties to String.

Thanks,
Ignacio
-- 
View this message in context: 
http://www.nabble.com/emptyoption-with-s%3Aselect-and-Integer-values-tp24139712p24139712.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to