Ok, so the problem is that you want to generate an eventlink that passes two
parameters. One parameter (context) is known when you call
componentResources.createEventLink(), the other is a clientside value (the
value of the checkbox).
Option 1:
Generate an event URL via componentResources.createEventLink("someEvent",
context, "XXX") and have some javascript on the client to replace "XXX" with
the boolean value of the checkbox.
Event handler:
void onSomeEvent(Item context, boolean value)
Option 2:
Generate an event URL via componentResources.createEventLink("someEvent",
context) and have some javascript to add a request parameter for the
boolean.
Event handler:
void onSomeEvent(Item context, @RequestParam("checkbox") boolean value)
The jumpstart link I gave you before uses option 2.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Problem-with-checkboxes-in-dynamic-tables-tp5718028p5718080.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]