0 Replies Latest reply on Feb 3, 2012 5:30 AM by lokeshdotp

    reRender not working across <ui:define> tags, plz help !

    lokeshdotp

      Hi All

       

      I want to rerender one component when an image is clicked, the image and the component are present in different ui:define tags, will this work?

      And also please correct me if i am doing somethin rubbish here

                   

                      <a4j:commandLink
                          title="Show/Hide Details Pane"
                          eventsQueue="ajaxQueue"
                          action="#{bean.toggleRenderDetailDisplay}"
                          ajaxSingle="true"
                          status="workingStatus"
                          reRender="detailsPanel">
      
                          <ui:include src="/view/utils/tooliconclick.xhtml">
                              <ui:param name="src"  value="#{images.moveDown}"/>
                              <ui:param name="alt"  value="Show/Hide Details Pane"/>
                          </ui:include>
      
                      </a4j:commandLink>
      
      <!-- Details pane given below -->
      
                       <ui:define name="ui_alarmdetailspane">
                             <s:div id="detailsPanel" rendered="#{bean.renderDetailDisplay}">
                                 <!-- My content here -->
                             </s:div>
                       </ui:define>