You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2005/10/20 14:32:17 UTC
DO NOT REPLY [Bug 12189] -
Setting default values for the Tag
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=12189>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=12189
------- Additional Comments From michael.weigand@michaelweigand.de 2005-10-20 14:32 -------
Solution for default value could be:
Define a inputfield with the same name right after the checkbox. If checkbox
is checked then the value of checkbox will be read, otherwise the value of the
hidden field.
<input type="checkbox" name="testchk" value="true"/>
<input name="testchk" type="hidden" value="false" />
for the struts development i would suggest to extend the checkboxtag to have
an property uncheckedValue and if this property is set, automatically add the
hiddenfield.
Greetings,
michael.weigand@michaelweigand.de
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org