Re: T5 / Creating a form insides a loop ...

2009-10-06 Thread cordenier christophe
Hello - Note that if you want to have only one submit button in one form, it is possible to use the tapestry grid and loop component with a value encoder to have a global submit. - If you want to add rows dynamically, have a look the AjaxFormLoop that also have an encoder parameter. By the way,

Re: T5 / Creating a form insides a loop ...

2009-10-06 Thread Gunnar Eketrapp
Hi ! OK I'll try ... I have a table where each row contains a form with some hidden fields (year,week) + a field to enter percentage value plus s a submit button. How would you port this! Currently I am testing to pass a context to the form and It seems like that might be the right track

Re: T5 / Creating a form insides a loop ...

2009-10-06 Thread Toby Hobson
Hi Gunnar Maybe you could give us a higher level explanation of what you are trying to achieve i.e. what is the business logic driving this? In my experience when migrating from a technology like struts or servlets to tapestry it's best to rethink your whole strategy, instead of thinking in terms

Re: T5 / Creating a form insides a loop ...

2009-10-06 Thread Gunnar Eketrapp
Hi! Ok the ${} was a typo ... I havent tested the page yeat you know! My problem is that each form pass a context (in three hidden fields) back to the server and how is this best done! But I just saw that I could pass a t:context attribute to my form so I will try that solution. E.g I will now

Re: T5 / Creating a form insides a loop ...

2009-10-06 Thread Thiago H. de Paula Figueiredo
Em Tue, 06 Oct 2009 11:51:17 -0300, Gunnar Eketrapp escreveu: Hi ! Hi! The problem is that I would like to take one property as the inparameter and another as the out parameter. Why? Never use ${} as a component parameter. Never! -- Thiago H. de Paula Figueiredo Independent Java

T5 / Creating a form insides a loop ...

2009-10-06 Thread Gunnar Eketrapp
Hi ! I am porting a project from a ancient technology (starts with j and ends with p) and have come across a loop where a form is created inside the loop. The form has three hidden fields + a text field and my question is how is this best done the T5 way ... I looked in the howto's but couldn't