On 27.06.2004 15:21, oceatoon wrote:

Hi everyone

I would like to be able to show/hide widgets according to certain events
(Ex: in the Car Selector sample in the Forms block, I would like to show
the car type widget only once the make has been choosen).

Does anybody know how this is possible, do I have to change template files
removing the concerned widget or is there a show/hide attribute???

Thanks for your thoughts.

This is possible using the union widget. I did it myself on Friday. The resources I used were http://wiki.cocoondev.org/Wiki.jsp?page=TimLarson and the form model GUI sample, but the latter one is really complex. Ask further questions if you need - maybe I will port to car selector sample to union if I have time :) A bug concerning the values when switching the select box for example was fixed *yesterday* and is so only available in CVS.


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to