yep, there's no nice Tapestry way in what you're trying to do, esp.
if you're trying to *avoid ajax*.

Incidentally, this was the most interesting question i got asked while
presenting
Tapestry in out local JUG. It got me thinking of adding a few js helper
functions
that would know how to add new fields in tapestry forms, e.t.c. ... it
still remains
an idea though!

Anyway, last time i wanted to do something similar without ajax, i
simply handcrafted
the generated names of the inputs and used cycle.getParameter in the
listener.

Karthik N wrote:
> also you can consider using Tacos if you're wed to tapestry 4.0.x
>
> On 12/14/06, Ron Piterman <[EMAIL PROTECTED]> wrote:
>>
>> Tapestry traces the rendered components and uses this info on rewind -
>> its better not to temper with that.
>> If you need JS magic, try using T41 - using Ajax this should be
>> possible, though only straight-forward for jesse and other enlightend
>> developers :)
>> Cheers,
>> Ron
>>
>> Jiju Mathew wrote:
>> >
>> > Hi All,
>> > I have a list of contacts in MyPage class.Tapestry rendered all the
>> > contacts
>> > in the list asTextFields using @For Loop component ,I have modified
>> some
>> > of the
>> > contact details and submit ,its working fine.
>> >
>> > But after the page is rendered if I am adding one more row to the list
>> > using javascript,
>> > During rewind the new contact is not getting added to the list in the
>> > MyPage class
>> >
>> > is there any mechanism(or parameter setting) to add this newly added
>> > contact to the  List ?
>> >
>> > Thanks
>> >
>> > Regards
>> > jiju
>> >
>> >
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------------
>> > 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]
>>
>>
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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

Reply via email to