cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <s.gia...@thebug.it>
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.

Simone

Duncan McLean wrote:

>Hi
>
>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.
>
>Thanks
>
>Duncan
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>
-- 
Simone Gianni

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message