Struts Layout Datagrid

Discussions

Web tier: servlets, JSP, Web frameworks: Struts Layout Datagrid

  1. Struts Layout Datagrid (1 messages)

    have a datagrid (fr.improve.struts.taglib.layout.datagrid.Datagrid) which I will use to update abd delete data from a page. I want to store the primary key of each row of the datagrid as a hidden field so that when I have to do an update I can use the hidded primary key to access the record from the database.

    How can I store a field on the page as a hidden field for each Datagrid page.

    Thanks
  2. retaining Update ID[ Go to top ]

    Solution would be to check the update status and on delete event set the values in the hidden field.