struts-user mailing list archives

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

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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message