struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Converting a hidden input field to Boolean?
Date Sun, 01 May 2011 08:41:22 GMT
Hi,

given the following:
<s:hidden name="myBean.active" value="true" />

and the fact MyBean contains a method with this signature:

MyBean.setActive(Boolean value) {}

I always receive null for this field in my Action.

I guess it is because the conversion does not apply to hidden fields - right?

Any chance i can make this work?

Cheers
Christian

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


Mime
View raw message