You're passing a collection to AjaxFormLoop. Just add an object to that
collection.
On Mon, 10 Oct 2016 16:47:35 -0300, sheikh hossain <shossa...@gmail.com>
wrote:
I wonder how to add a default row in AjaxFormLoop when a page renders.
The issue we are facing is I can pre-build a default row within
setupRender() or onPrepareForRender() or even within onActivate() methods
and the page correctly shows the default row with default values which
consists of text fileds.
But after submit I only get the default values on the server side even
when
a user enters a different text value on the text filed.
Looks like the entered values are not getting added within the event
context.
I am not sure if I am missing something here to make the default row
works.
We are using T5.3.8.
Any suggestion or help will be greatly appreciated.
Thanks.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org