You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by joe schacher <di...@gmail.com> on 2015/12/02 18:59:55 UTC
problem with checkbox in tapestry 4
when i assign a value to a checkbox, the value always passes as 'on'.
i've even tried simple code like this:
in jwc:
<component id="cnselect" type="Checkbox">
in html:
<span id="ognl:cn.id" jwcid="cnselect" value="1" onclick=alert(this.value)>
but the value returns as "on". i also tried assigning displayName and
returning it, it always returns as "undefined".
any ideas?