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.

Thanks...

On Tue, Feb 8, 2011 at 12:38 AM, Mark <mark-li...@xeric.net> wrote:

> 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 something like:
>
> public Object onSetQty(Item item) {
>
>
> }
>
> Mark
>
> On Mon, Feb 7, 2011 at 4:51 AM, Yohan Yudanara <yohan.yudan...@gmail.com>
> wrote:
> > 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: "machineZone, machineZone_0, machineZone_1" which is
> > generated automatically when user add/remove rows on AjaxFormLoop.
> >
> > Thanks in advance..
> >
> > Best regards,
> > Yohan Yudanara
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to