Yes, It does..
Thank you very much..

Now, I can control id of zone elements inside AjaxFormLoop.

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

> You can set the client side id to something like:
>
> id=${rowZoneId}
>
> public String getRowZoneId() {
>  return "rowZone-" rowId;
> }
>
> That way if you need to update a particular zone you can reference it.
>  As long as you set rowId to be the same value when you add it to the
> MultiZoneUpdate as it was when that row was rendered it should work.
>
>
> Does that help?
>
> Mark
>
> On Mon, Feb 7, 2011 at 4:34 AM, Yohan Yudanara <yohan.yudan...@gmail.com>
> wrote:
> > Hi,
> >
> > I've tried MultiZoneUpdate and it's working.
> >
> > So, I want to change my question:
> > We can add/delete rows in AjaxFormLoop, so the zone ids is dynamic. How
> to
> > get available zone ids inside AjaxFormLoop ?
> > Do we need to loop it using Javascript and pass it to server side via
> > context, or is there any other way ?
> >
> > Thanks in advance,
> >
> > Best regards,
> > Yohan Yudanara
> >
> > On Mon, Feb 7, 2011 at 2:35 PM, Yohan Yudanara <yohan.yudan...@gmail.com
> >wrote:
> >
> >> Hi,
> >>
> >> I have a Master-Detail Form one page.
> >>
> >> The Master section, contains a Select Component.
> >> The Detail section (which is implemented using AjaxFormLoop), also
> contain
> >> a Select Component.
> >>
> >> What I want to do is to make Ajax Select:
> >> Options in detail's Select Component (which is inside zone in
> AjaxFormLoop)
> >> is depend on what user choose on master's Select Component.
> >>
> >> I have problem because:
> >> * If I'm using zone attribute in master's select component, only the
> >> "Select" component in 1st detail record is updated.
> >> * If I'm using multizone update, I can't use @InjectComponent to get
> >> "Select" components in detail records, because the component id is
> dynamic
> >> (because it's inside AjaxFormLoop).
> >>
> >> Is there any clue how to do this?
> >>
> >> 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