Hi,
I have a grid in which i have an editable field. I've added an actonLink to
the same cell. When the value of the editable cell is changed and the
actionLink is pressed I want to receive the changed value and the id and
process it.
my tml looks like this -
<table t:type="grid" t:source="myobjects" t:row="myobject"
t:include="id,firstname,lastname">
<p:firstNameCell>
<input t:type="textfield" t:value="object.firstName"/>
Save
</p:firstNameCell>
</table>
I've written an action handler -
void onSave(String id)
{
System.out.println(id); //expect to receive something like "102-changed
name"
}
but when I change the name and click on save, i only get the old name in the
event handler and not the changed one.
Where am i going wrong?
Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/editable-grid-not-receiving-the-changed-value-in-the-event-handler-tp2845740p2845740.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]