I use AjaxFormLoop-addrow-addrowlink-parameter to dynamic add a row , I want
to fill the row with some defult value which base on the link param user
click.
for example:
tml:
Add a row
Add a row
java:
PersonHolder onAddRow(Object value) {
// Create a skeleton Person and add it to the displayed list
with a unique key
Person newPerson = PersonService.findPersonById(value);
PersonHolder newPersonHolder = new PersonHolder(newPerson,
true, 0 - System.nanoTime());
_personHolders.add(newPersonHolder);
return newPersonHolder;
}
Geoff Callender-2 wrote:
>
> Everyone,
>
> Please try this quick experiment. I am trying to figure out why it
> works for some people and not for others.
>
> The experiment is: go to the following two pages and click on "Add a
> row"...
>
>
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformloop1
>
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformlooptailored1
>
> Did it work? Please reply here with whether it worked or not, and
> include whether you are running through a proxy, whether you OS is
> Windows, and what country you are in.
>
> Hopefully there's a pattern.
>
> Thanks,
>
> Geoff
>
> P.S. The people who reported a problem say that the blackbird console
> shows this kind of thing:
>
> # Communication with the server failed: The rendered content did not
> include any elements that allow for the positioning of the hidden form
> field's element.
> # Ajax failure: Status 500 for /jumpstart/examples/tables/
> ajaxformlooptailored1
> .ajaxformloop
> .rowinjector:inject;jsessionid=3BB5CE5E0D166AC91A4561295B8F5151?
> t:formcomponentid=examples/tables/
> AjaxFormLoopTailored1:personsedit&t:formid=personsedit: The rendered
> content did not include any elements that allow for the positioning of
> the hidden form field's element.
>
>
>
--
View this message in context:
http://www.nabble.com/Is-AjaxFormLoop-example-working-for-you--tp24526565p24603337.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