Add an hidden field with the list as a value. This will store the list
in the form and set it on form submition. Hidden fields are gathered all
directly after the form tag, so it will be set before the foreach is
rendered.
Vincent wrote:
Hi all,
I use Foreach to display the content of the table.
I met a problem after each submit the list will be lost , I don't
know why this happenes even when in the properties I set persistent
like the following
<property-specification name="tableResultList" type="java.util.List"
persistent="yes"/>
Is it possible to persistent list after submit?
regards,
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]