[
https://issues.jboss.org/browse/RF-12360?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-12360:
------------------------------------
The onchange event is fired when the event loses focus - have you tried changing focus to
another component in your testing?
rich:picklist using f:ajax wired to the event "change" does
nothing
-------------------------------------------------------------------
Key: RF-12360
URL:
https://issues.jboss.org/browse/RF-12360
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Dupont Dupont
Labels: waiting_on_user
I wanted to know if anyone has succesfully wired an ajax behaviour to a picklist
component on the change event.
{code}
<rich:pickList value="#{listSelectBean.selectedCapitals}"
listWidth="170px" listHeight="100px"
orderable="true">
<f:selectItems value="#{listSelectBean.capitals}" var="capital"
itemValue="#{capital}" itemLabel="#{capital.name}" />
<f:ajax event="change" execute="@this"
render="dependentFields"/>
</rich:picklist>
{code}
Adding an onchange event handler on the component does not produce any effect.
onchange="alert('Changed');"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira