Re: [T5.2] Pass additional info/context on Ajax Select

2011-02-08 Thread Yohan Yudanara
Thanks for your suggestion and link reference. But I'm using standard T5.2 Select component. However, I've solve my problems. In AddRow/RemoveRow, I save zone ids in AjaxFormLoop into session. So, when the onValueChanged of Select component occured, I can retrieve this value from session.

Re: [T5.2] Pass additional info/context on Ajax Select

2011-02-08 Thread Mark
On Tue, Feb 8, 2011 at 2:46 AM, Yohan Yudanara yohan.yudan...@gmail.com wrote: In AddRow/RemoveRow, I save zone ids in AjaxFormLoop into session. So, when the onValueChanged of Select component occured, I can retrieve this value from session. Interesting. Could you share an example of how

Re: [T5.2] Pass additional info/context on Ajax Select

2011-02-08 Thread Yohan Yudanara
Hi Mark, Nothing special in my code. I was just following sample of AjaxFormLoop on Tapestry Jumpstart ( http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/ajaxformloop1) and combined it with your suggestion on thread: Update Zone inside AjaxFormLoop. Here is the snippet from my

[T5.2] Pass additional info/context on Ajax Select

2011-02-07 Thread Yohan Yudanara
Hi, I want to ask a question: Is it possible to pass additional info on Ajax Select (method onValueChanged), other than selected value ? I need to pass ids of element inside AjaxFormLoop (because rows inside AjaxFormLoop can be add/remove dynamically at runtime). e.g: I need to pass:

Re: [T5.2] Pass additional info/context on Ajax Select

2011-02-07 Thread Mark
Take a look at this: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxonevent You should be able to add a t:context to the component that is triggering the event. Whatever the context is when the component is rendered will be passed back the action event. So you can have