[
https://issues.jboss.org/browse/RF-12360?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-12360.
--------------------------------
Resolution: Done
Moved the onchange event fire to the encodeCsvValues method, rather than the onBlur event
handler
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)
Components: component-selects
Reporter: Dupont Dupont
Assignee: Brian Leathem
Fix For: 4.3.0.M2
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
For more information on JIRA, see:
http://www.atlassian.com/software/jira