Hey guys, I have a page used to create/edit an entity object. That object has a list of children objects, and I display this using a grid on the page. That grid has a delete column, and the code I have looks like this: <t:parameter name="deleteCell"> ${correspondenceDetail.id} <t:submit t:id="deleteDetail" t:context="correspondenceDetail.id" value="Delete" /> </t:parameter>
I use a submit, because I need it to save all the rest of the changes on the page or in the grid. The printout of the ID is just so I can see what the value is for debugging purposes. In the page class, I have the method: public void onSelectedFromDeleteDetail(int deleteId) The issue is that deleteId is ALWAYS the id of the last row. Does anyone have any suggestions? Am I doing something wrong here? The examples of delete columns I've found before are all actionlinks, but actionlinks don't save the changes made to the form. Thanks a lot. -- View this message in context: http://old.nabble.com/Possible-bug-in-grid-when-adding-delete-button-tp29356362p29356362.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org