]
Brian Leathem commented on RF-11617:
------------------------------------
Value change events aren't fired until the component loses focus. Perhaps you should
be listening to the "additems" or "removeitems" events?
rich:pickList 4.1.0.M3 - valueChangeListener not firing correctly
-----------------------------------------------------------------
Key: RF-11617
URL:
https://issues.jboss.org/browse/RF-11617
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-selects
Affects Versions: 4.1.0.Milestone3
Environment: Mojarra 2.1.3, glassfish 3.1.1, Windows 7, IE8 & Chrome
browsers
Reporter: Brendan Healey
Assignee: Brian Leathem
Labels: waiting_on_user
I have two List<String>, selectedList & wholeList. Using the add/remove(all)
buttons
the value change listener is not executed on the server unless you re-click a row in
one of the lists, or the browser window is minimised (or resized etc..), tested on IE8
& Chrome. This has been tested with the converter= attribute and a child f:converter
tag. The child a4j:ajax tag is required.
{code}
<rich:pickList value="#{myBean.selectedList}"
converter="convertHashMap"
valueChangeListener="#{myBean.testVCL}">
<a4j:ajax/>
<f:selectItems value="#{myBean.wholeList}"
var="var" itemLabel="#{var}"
itemValue="#{var}"/>
</rich:pickList>
{code}
{code}
public void testVCL(ValueChangeEvent event) {
Log.log("testVCL");
}
{code}
p.s. Apologies for all the edits to this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: