struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Session A Mwamufiya" <smwam...@andrew.cmu.edu>
Subject getting the value of a s:checkbox
Date Wed, 08 Aug 2007 16:35:07 GMT
Hi,

I have the following checkbox in my jsp:
<s:checkbox key="overwriteCheckbox" name="overwriteFlag" labelposition="left" onclick="if
(this.checked) {javascript:return confirm('%{getText('elementOverwriteConfirmation')}')} "/>

In my action, I have defined overwriteFlag as a String variable, and have a getter and a setter
for it.  Nevertheless, when I submit the form, I always get null when I try to check the value.

Any ideas what I could be doing wrong?

Thanks,
Session


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


Mime
View raw message