Ajax with widgets


I want to perform some actions when the value of a widget changes, and I don't know how.

For example: I want to hide/show other widgets depending on the value of a “SelectOneDirectory” widget. I know how to do this with JSF, using and the “rendered” attribute, but with widgets I am not able to find a way to tell the widget what to render or execute after its value has been changed. I haven't found anything similar in the Nuxeo interface, or in the documentation.

Is it possible? Or do I have to use a template always in this cases?

Any help would be much appreciated.

Thank you,

0 votes

0 answers