Hi.
Can someone point me to an example of real-life complex custom component
- I mean something with several inputs inside, complex validation,
change listeners etc.
All samples I've seen so far are of simple components extending UIInput
or UIOutput.
To make a complex component, I usually instantiate and populate existing
components in backing beans and use binding attribute of tags withing JSPs:
<t:panelTabbedPane binding="#{recordEditorBean.component}"/>
The recordEditorBean has get/setComponent methods. I create, populate
and configure the component in the constructor and simply return it in
the getter.
Bye.
/lexi