[richfaces-issues] [JBoss JIRA] Closed: (RF-2941) reRender attribute does not work in latest release 3.2.0.GA
Hongqi Jia (JIRA)
jira-events at lists.jboss.org
Sat Apr 5 04:51:32 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-2941?page=all ]
Hongqi Jia closed RF-2941.
--------------------------
Resolution: Done
I noticed that the reRendering did happen, but the change on the back bean was not persisted. After I read another post in the forum, I know this is the supposed to be like this. For the feature I needed, I can use 'process' attribute in 3.2.0 release.
> 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
> Assigned To: Nick Belaevski
> Priority: Critical
> Fix For: 3.2.1
>
>
> 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
More information about the richfaces-issues
mailing list