Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-23 Thread Yohan Yudanara
Hi LLTYK and Thiago, Thank you for your response. Yeah, it looks like I'm trying to do something in AjaxFormLoop that is outside of its intended scenarios. I was creating a form to input master(bunch of textfields, textareas, datepickers, etc) and detail (using AjaxFormLoop) on the same page. And

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-23 Thread LLTYK
Put the form inside the zone as well, assuming there aren't a bunch of other fields with data in them. Also, if you're just discarding the old rows then you can just use a normal loop with a zone. -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-1-Generate-AjaxFormLoo

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-22 Thread Thiago H. de Paula Figueiredo
On Thu, 23 Sep 2010 00:12:15 -0300, Yohan Yudanara wrote: Because when user click on an hyperlink, I want to populate *multiple* rows. Populate means: I want to clear all rows on AjaxFormLoop and generate multiple rows based on calculation in the server side. Now I got what you want to do

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-22 Thread Yohan Yudanara
Because when user click on an hyperlink, I want to populate *multiple* rows. Populate means: I want to clear all rows on AjaxFormLoop and generate multiple rows based on calculation in the server side. Is it possible to do this with AddRowLink / RemoveRowLink? On Thu, Sep 23, 2010 at 9:42 AM, Thi

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-22 Thread Thiago H. de Paula Figueiredo
On Wed, 22 Sep 2010 23:36:19 -0300, Yohan Yudanara wrote: Is it possible to do AddRowLink / RemoveRowLink from java class? Because what I want to do is: populate some rows in AjaxFormLoop from server side (java class). This event (populate some rows) is triggered from clicking AJAX actionLi

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-22 Thread Yohan Yudanara
Is it possible to do AddRowLink / RemoveRowLink from java class? Because what I want to do is: populate some rows in AjaxFormLoop from server side (java class). This event (populate some rows) is triggered from clicking AJAX actionLink. I thought this is not possible, so I'm decided to refresh who

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-22 Thread LLTYK
You just use AddRowLink and RemoveRowLink to add and remove. Alot easier than trying to refresh the whole thing. http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/ajaxformloop1 -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-1-Generate-AjaxFormLoop-en

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-21 Thread Yohan Yudanara
Hi.. If I refresh whole form, How can I preserve user input on textfield outside AjaxFormLoop ? Thanks.. On Wed, Sep 22, 2010 at 10:19 AM, Thiago H. de Paula Figueiredo wrote: > On Wed, 22 Sep 2010 00:11:40 -0300, Yohan Yudanara > wrote: > >> Is it possible to refresh whole AjaxFormLoop ? > >

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-21 Thread Yohan Yudanara
Thanks a lot Thiago.. Your 2 sentences made me save lot of time... Thank you... :) On Wed, Sep 22, 2010 at 10:19 AM, Thiago H. de Paula Figueiredo wrote: > On Wed, 22 Sep 2010 00:11:40 -0300, Yohan Yudanara > wrote: > >> Is it possible to refresh whole AjaxFormLoop ? > > Put it inside a Zone a

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-21 Thread Thiago H. de Paula Figueiredo
On Wed, 22 Sep 2010 00:11:40 -0300, Yohan Yudanara wrote: Is it possible to refresh whole AjaxFormLoop ? Put it inside a Zone and refresh it. BeginRender[EditAssetExpense:detailcustomer.fragment]: No object of type org.apache.tapestry5.services.FormSupport is available from the Environmen

Re: [T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-21 Thread Yohan Yudanara
Is it possible to refresh whole AjaxFormLoop ? On Wed, Sep 22, 2010 at 9:43 AM, Yohan Yudanara wrote: > Hi, > > Is it possible to generate (insert/delete some records) AjaxFormLoop > row from an AJAX actionlink ? > I've tried enclosing the AjaxFormLoop inside Zone, but I got this error > message

[T5.1] Generate AjaxFormLoop entry from ActionLink

2010-09-21 Thread Yohan Yudanara
Hi, Is it possible to generate (insert/delete some records) AjaxFormLoop row from an AJAX actionlink ? I've tried enclosing the AjaxFormLoop inside Zone, but I got this error message: BeginRender[EditAssetExpense:detailcustomer.fragment]: No object of type org.apache.tapestry5.services.FormSupport