cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Change sibling repeater's droplist??
Date Mon, 03 May 2004 21:49:14 GMT
On 04.05.2004 14:38, Christina wrote:

> 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")
> 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
to point to a widget inside that repeater - but in which row??

Somewhat is missing obviously.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message