0 Replies Latest reply on Dec 12, 2012 4:38 AM by ramram888

    <a4j:repeat> issue

    ramram888

      Hi,

       

      my code looks like the sample below

       

      <rich:dataTable value="#{bean.mainLst}" var="parent" id="tbl">

       

      <a4j:repeat value="#{parent.childrenLst}" var="child">

            <tr>

                  <td> 

                        <h:outputText value='#{child.name}' />

                  </td>

          </tr>

      </a4j:repeat>

       

      </rich:dataTable>

       

      <a4j:commandButton ajaxSingle="true" id="saveBtnId" action='#{bean.save}' reRender='tbl' onclick="showNotificationPanel();" oncomplete='hideNotificationPanel(false);' />

       

       

      Issue:

       

      When i click on save the following span is added <span id="org.ajax4jsf.oncomplete">hideNotificationPanel(false);</span>

       

      and i have hideNotificationPanel(false); displayed in my JSP file.

       

      when I removed <a4j:repeat> "hideNotificationPanel(false);"

       

      how can i hide the span?

       

      Regards,