6 Replies Latest reply on Mar 15, 2011 10:08 AM by dasago

    4.0.0.CR1 a4j:commandLink: After rendering no title shown

    dasago Newbie

      Hello,

       

      after rendering a a4j:commandLink of a extendedDatatable, the title no longer appears. The commandLink would be rerendered after click on commandButton. Does anyone know why? Is it a bug?

       

      Here is the code:

       

      <rich:extendedDataTable id="tbl" rowKeyVar="rowNum"

              var="tbl_var" value="#{test.list}"

              selectionMode="multiple"

              selection="#{test.selection}"

              frozenColumns="1"

              rows="25"

              styleClass="tableStyle"

              rendered="#{not empty test.list}"

              >

      ....

             <rich:column id="colEdit" headerClass="dataTableHeader" label="#{msgs.edit}" styleClass="center">

                  <f:facet name="header">

                      <h:outputText value="#{msgs.edit}" />

                  </f:facet>

                  <h:link outcome="/pages/test" title="#{msgs.edit_h}"

                      styleClass="no-decor" includeViewParams="true">

                      <h:graphicImage value="/images/edit.gif" />

                      <f:param name="edit" value="#{true}" />

                  </h:link>

              </rich:column>

              <rich:column id="colEmpty" headerClass="dataTableHeader" />

       

              <f:facet name="footer">

                  <rich:dataScroller page="#{test.page}" />

              </f:facet>

       

      </rich:extendedDataTable>

       

      <!-- Action Buttons -->

      <a4j:outputPanel id="panelAction" rendered="#{not empty test.list}">

          <!-- SELECT ALL -->

          <a4j:commandButton value="#{msgs.select_all_btn}" style="width:120px;"

                  action="#{test.selectAll()}"

                  render="tbl panelAction" />

      </a4j:outputPanel>