Hi, (sorry for crossposting, I posted in Richfaces forum, should have used this forum)
I am trying to create a component to add a onchange listener (a4jsupport) to all UIInput components on a page.
This is comparable to the 'validateAll' tag in Seam.
Like this:
<t:supportAll event='onchange' action="#{myBean.action}">
<h:inputText ....>
<h:inputText ....>
</t:supportAll>
HtmlAjaxSupport support = new HtmlAjaxSupport();
support.setEvent("onchange");
support.setReRender(rerender);
for (ActionListener l : this.actionListeners) {
support.addActionListener(l);
}
c.getFacets().put("a4jsupport", support);