Tacos & Ajax call seems a good solution,
but these hidden fields also needed to be updated using updateComponents ?

and one more query, is  HTTPRequest available in page class ?


karthik.nar wrote:
> 
> tapestry is not aware of your new form fields.  if you use firebug you'll
> find that these fields don't figure in the "hidden" field that tapestry
> uses
> to keep track of its meta-info used for render/rewind.
> 
> one way to solve this problem is to use Tacos and make an Ajax call.
> 
> another way is to look into the cycle for the HTTPRequest and harvest the
> new parameters from there.
> 
> a third way is to have pre-defined rows but keep display:none - so that
> they
> are "registered" as tapestry components but not visible to the user.  on
> click of Add Row they just show up because  you change display:none to
> display:block or something like that
> 
> hth
> 
> On 11/24/06, jiju <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi All,
>> I have created a contact table(each row contains a Textfield) from a
>> collection  using forEach loop
>> now i have added one more contact using javascript & submit the form
>> but the new contact is not getting added to the collection
>>
>> but still i can MODIFY the existing contacts
>>
>> anybody know the solution for this problem ?
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-rows-with-javascript-tf2696651.html#a7520075
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Thanks, Karthik
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Adding-rows-with-javascript-tf2696651.html#a7521357
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