This content has been marked as final.
Show 2 replies
-
1. rich:comboBox and a4j:support onselect
stefanorg Apr 14, 2011 3:43 AM (in response to stefanorg)nobody?!?
-
2. Re: rich:comboBox and a4j:support onselect
ssilvert Apr 20, 2011 4:09 PM (in response to stefanorg)Sorry for the extremely late reply.
RichFacesClient.setComboBox() calls into HtmlUnit's HtmlInput.setValueAttribute(). HtmlUnit's javadoc says that onchange will be fired, but presumably this does not fire onselect. If you want to fire onselect then this should work:
HtmlElement element = (HtmlElement)jsfClientSession.getElement(componentID + "comboboxValue"); element.click();
Stan