What about puting your repeater and whatever you'd like in a fd:group and then hiding the group ?

Marc

Florian Leinberger a écrit :

Hi,

I would like to display/hide a whole repeater (containing several widgets) in a
cocoon form depending on which value is selected in a select-field above this
repeater.

I know how this can be done with single widgets using javascript in the form
definition, like setState(Packages.org.apache.cocoon.forms.formmodel.WidgetState.ACTIVE); setState(Packages.org.apache.cocoon.forms.formmodel.WidgetState.INVISIBLE);
I would appreciate any hints if this can be done in a similiar way to show/hide
not only a single widget but a whole repeater containing several widgets (with
all its repetitions). I tried "RepeaterState" which didn't work though :-(

Thanks, Florian


---------------------------------------------------------------------
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]

Reply via email to