reRender attribute does not work in latest release 3.2.0.GA
-----------------------------------------------------------
Key: RF-2941
URL:
http://jira.jboss.com/jira/browse/RF-2941
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Fedora 8 Linux, JDK6, JBoss4.2.2.GA, JBoss-seam-2.0.1.GA
Reporter: Hongqi Jia
Priority: Critical
After upgraded richfaces libraries to the latest release 3.2.0.GA from 3.1.4.GA, all the
reRender settings in my project do not re-render the specified components any more. After
I roll back richfaces libraries to old 3.1.4.GA release, the same code works again. Here
is the sample code in my project:
<s:decorate id="provinceDecoration"
template="../layout/edit.xhtml">
<ui:define name="label">Province</ui:define>
<h:selectOneMenu id="proviences"
value="#{user.provience}" required="true">
<a:support ajaxSingle="true" immediate="true"
reRender="city" event="onchange" />
<a:support event="onblur"
reRender="provinceDecoration" bypassUpdates="true"
ajaxSingle="true" />
<s:selectItems value="#{apts:getProvinces()}"
var="prov" label="${prov}" noSelectionLabel="Plese Select"
hideNoSelectionLabel="true" />
</h:selectOneMenu>
</s:decorate>
<s:decorate id="cityDecoration"
template="../layout/edit.xhtml">
<ui:define name="label">City</ui:define>
<h:selectOneMenu id="city" value="#{user.city}"
required="true">
<a:support event="onblur" reRender="cityDecoration"
bypassUpdates="true" ajaxSingle="true" />
<s:selectItems
value="#{apts:getCitiesOfProvince(user.provience)}" var="city"
label="${city}"
noSelectionLabel="Please Select"
hideNoSelectionLabel="true" />
</h:selectOneMenu>
</s:decorate>
With 3.2.0.GA richfaces library, the "City" drop-down list will be empty after
"Province" field is selected (reRender="city" attribute failed). But
his same code works perfectly with 3.1.4.GA richfaces release.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira