To me, it sounds like you can achieve most of this with javascript. Attach a
listener to the "change" event on the checkbox which toggles the visibility
of the field. On the serverside, you will check he value of the boolean flag
to determine if the field is initially hidden or visible.
In jquery, this would look something like:
$('#checkboxId').on('change', function(event) { $('#fieldId').toggle(); });
This will need to be adapted to the equivelant protoype if you are NOT using
tapestry-jquery.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Show-and-hide-fields-based-on-boolean-dynamic-property-tp5717668p5717692.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]