Hi all,
I'm using RF 3.2.1.RC3 with JSF 1.2 and jsp.
I tried to use the following feature :
You can use JSF EL expression as a value of the reRender attribute. [...] The EL for reRender is resolved right before the Render Response phase. Hence, you can calculate what should be re-rendered on any previous phase during the Ajax request processing.
<h:selectBooleanCheckbox id="selectionItem" value="#{item.selectionne}" disabled="#{! item.selectionnable || panier.disabled }" onclick="blur();" title="#{item.title}"> <a4j:support event="onchange" reRender="#{myBean.reRenderOnSelect}, dragZonePanel,selectionnerTous" action="#{myBean.onChangeModifierSelectionItem}" ignoreDupResponses="true" requestDelay="150" eventsQueue="selectionQueue"> <a4j:actionparam name="paramId" assignTo="#{myBean.paramId}" value="#{item.id}" /> </a4j:support> </h:selectBooleanCheckbox>
//FIXME: Why do we evaluate reRender right now?
//Collection can change any time.
((UIAjaxSupport) component).setReRender( AjaxRendererUtils.asSet(reRender.getValue(getELContext())));
Is there someone from Richfaces team who can give me a clue ?