cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <>
Subject Re: Question about union
Date Mon, 13 Mar 2006 12:26:51 GMT
Hi Duncan,
you should put an fd:on-value-changed on the dropdown. From inside this 
listener, you can change the status of other widgets to DISABLED and 
have them appear disabled. It should work correctly also setting the 
state of a union.


Duncan McLean wrote:

>We have a situation where there is a dropdown list that contains one
>of two options.
>On one option, we want a group of fields to display and the other set of
>fields to display, but be in a disabled state.
>The other option will still show the first set of fields, but the second
>set of fields will now be enabled as well.
>Can anyone tell me whether it is possible to achieve this with a union -
>as all the examples I have seen seem to conditionally show one set of
>fields or another, not the scenario I have described.
>To unsubscribe, e-mail:
>For additional commands, e-mail:
Simone Gianni

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

View raw message