Hi,
This kind of behaviour is usually handled using ajax calls
(through the a4j JSF ajax library), especially when it's
more complex than this (chained selections for instance) but
in your case, javascript should be enough and easier.
I suppose you're using layouts so you'll need to define a
widget template where you can place the javascript code.
Note that this widget template may not be generic (not
reusable in any layout) as the input tag ids are generated
depending on the enclosing form, so you'll need to hardcode
the client ids of components you'd like to impact (the
doctype widget in your case), or maybe define it using a
widget property (so that you can reuse the same widget
template in different layouts).
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to