Hey Kris,

thanks for the help. I took this way but now I am wondering how I could link
those values extracted from the request object to their respective form
fields. This would be useful to get validation errors rendered by tapestry
for example. Is there any way, for example to add those fields to the page
onPrepareSubmit and then get them filled by tapestry afterwards?

Jens




kristian.marinkovic wrote:
> 
> you can add new form fields on the client-side using javascript
> on the server-side you then have to parse/obtain/process  the 
> data manually from the Request service you can inject almost
> everywhere. you'll have to think about a smart way to name the
> form fields so you can find them in the Request.
> 
> as a next step you could refine this with some components...
> 
> hope this helps
> 
> g,
> kris
> 
> 
> 
> 
> Jens Pfau <[EMAIL PROTECTED]> 
> 19.03.2008 15:17
> Bitte antworten an
> "Tapestry users" <users@tapestry.apache.org>
> 
> 
> An
> users@tapestry.apache.org
> Kopie
> 
> Thema
> Re: [T5] Adding form fields on the fly
> 
> 
> 
> 
> 
> 
> 
> 
> Nobody has an idea?
> 
> 
> Jens Pfau wrote:
>> 
>> Hello,
>> 
>> I would like to have a table with form fields where each row stands for
>> the
>> values of one data set. Furthermore, I would like to allow the user to 
> add
>> new rows on the fly, preferably using client-side actions without
>> reloading
>> the entire page. Is there any best practice to accomplish that? There is 
> a
>> FormInjector but unfortunately no documentation on this component and I
>> don't know how far a Grid is of support to this task. I appreciate any
>> help.
>> 
>> Regards
>> Jens
>> 
>> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/-T5--Adding-form-fields-on-the-fly-tp16013318p16144180.html
> 
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--Adding-form-fields-on-the-fly-tp16013318p16177177.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to