2 Replies Latest reply on May 16, 2008 9:59 AM by Damian Harvey

    a4j:commandlink + ui:repeat, rerender not working

    ziqi zhang Newbie

      Hi, I am using richfaces 3.2.0 with facelet 1.1.14. I have a ui:repeat field which iterates through a collection and renders some links. Onclick each link an action is called and page should be re-rendered. I have the foloowing code, the action is called properly but the page is never rerendered. (the other aj4:commandlink component in red color outside the ui:repeat loop is for testing this, and it works) Is this a bug with using facet + richfaces? Or have I done anything wrong?

       <rich:panelMenuGroup label="Search history" id="searchHistoryPanel">
       <h:outputText value="Click on a keyword below to remove that search criteria. Or click "/>
       <h:outputLink value="#">
       <h:outputText value="here"/>
       <a4j:support event="onclick" action="#{uiSearchProxy.processResetSearchCriteria}"
       </h:outputLink> to reset your search.
       <h:outputText value="theretorerender"/>
       <ui:repeat var="trail" value="#{uiSearchProxy.trails}"><br/>-
       <h:outputText value="#{trail.field}" style="font-weight:bold;"/>:
       <ui:repeat var="astep" value="#{trail.steps}">
       <h:outputText value=" >"/>
       <a4j:commandLink action="#{uiSearchProxy.processRemoveConstraint}"
       <h:outputText value="#{astep.value}"/>
       <f:param name="trailField" value="#{trail.field}"/>
       <f:param name="trailStepId" value="#{astep.id}"/>

      Any suggestions wouldbe very much appreciated! many thanks!