Looking back there was one slight typo in my example:
display:table name=notifications uid=tableListUid
display:column
s:form action=acknowledgeDocumentNotification
s:hidden name=documentId value=%{#attr.tableListUid.documentId}/
s:submit key=button.submit/
/s:form
Hi Chris-
i dont see documentId in TableTag.java from displaytag source ?
/**
* Licensed under the Artistic License; you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://displaytag.sourceforge.net/license.html
*
* THIS
It sounds to me like you're submitting the row object rather than the ID of the
object for which you want to operation upon.
The following example should work:
display:table name=notifications uid=tableListUid
display:column
s:form action=acknowledgeDocumentNotification
s:hidden
From: Álex Basoa axis...@gmail.com
To: user@struts.apache.org,
Date: 03.06.2015 09:33
Subject: Get single value from a row with displaytag and struts 2
i have a table wich works perfect made with struts 2 and displaytag
display:table name=session.listaNotificaciones
4 matches
Mail list logo