yeah! I realized that. But I want to set all rows' droplist including newly
added rows in the future.
If I set the row number, then only those rows can be set. newly added rows
in the future will have a null list.
I searched the repeater class, there is a function which doesn't require Row
parameter: Widget getWidget(String id)
Gets the child widget with the given id.
Any idea to fix this problem???????//
Thanks!!!
----- Original Message -----
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 03, 2004 2:49 PM
Subject: Re: Change sibling repeater's droplist??
> On 04.05.2004 14:38, Christina wrote:
> > > from "droplist-outer"'s <wd:on-value-changed>. every time there is
> > error: java.lang.RuntimeException: Repeater: Row id is not a valid
> > integer: droplist-inner .
>
> event.source.parent.getWidget("inner") points to the inner repeater.
>
> event.source.parent.getWidget("inner").getWidget("droplist-inner") tries
> > I want to change "doplist-inner" in all rows of repeater "inner"
> > whenever the value of "droplist-outer" changes, but because they are
> > in different level, it seems you cannot use javasript
> > event.source.parent.getWidget("inner").getWidget("droplist-inner")
> to point to a widget inside that repeater - but in which row??
>
> Somewhat is missing obviously.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]