Yes, there's a "value" parameter you can bind some page method to so
that you can easily get/set the !Object in the hidden field from the
page (you'll have to cast the object obviously).
I think you'll have all your checkboxes inside a For component so I
guess you'll iterate over a collection and
I like the idea!!
But when the browser render this component will I be able to access
those attributes?
Martino Piccinato wrote:
I think you could just make a component using a normal checkbox PLUS
two Hidden components (
http://tapestry.apache.org/tapestry4.1/components/form/hidden.html)
cont
I think you could just make a component using a normal checkbox PLUS
two Hidden components (
http://tapestry.apache.org/tapestry4.1/components/form/hidden.html)
containing the parent/child references.
Just extend BaseComponent and use one Checkbox plus two Hidden in your
new component.
Adding str