0 Replies Latest reply on Jul 22, 2009 8:40 AM by sautna

    Mozilla Firefox shows no headers after sorting scrollabledat

    sautna

      Hey guys!

      When I sort a rich:scrollableDataTable with its own sorting-function and then click on a link in it, which leads to another scrollable datatable, there appears the called datatable without headers and the formatting of the shown values looks totally weird.
      This problem is there only, if I use mozilla. IExplorer works fine.

      I got this several times in my application. I checked it, and this problem appears everywhere.

      Here's an example:

      first table with the link in it:

      <h:form id="main">
       <rich:scrollableDataTable frozenColCount="1" width="760px" height="300px" id="agentList" rows="0"
       value="#{PerspectiveActionBean.editedPerspective.agentList}" var="item2" selectionMode="none" >
       <rich:column sortBy="#{item2.id}" width="300px">
       <f:facet name="header"><h:outputText value="#{msg.perspective_detail_name}" /></f:facet>
       <rich:spacer width="3px" />
       <h:outputText value="#{item2.id}@#{item2.host.name}" />
       </rich:column>
       <rich:column width="45px" >
       <f:facet name="header"><h:outputText value="#{msg.perspective_detail_active}" /></f:facet>
       <rich:spacer width="3px" />
       <h:selectBooleanCheckbox disabled="true" value="#{item2.active}" />
       </rich:column>
       <rich:column width="55px" >
       <f:facet name="header"><h:outputText value="#{msg.perspective_detail_truecopy}" /></f:facet>
       <rich:spacer width="3px" />
       <h:selectBooleanCheckbox disabled="true" value="#{item2.truecopy}" />
       </rich:column>
       <rich:column id="action" width="25px" sortable="false" >
       <rich:spacer width="3px" />
       <a4j:commandLink action="#{AgentActionBean.takeSelectionShowAgentContent}" >
       <h:graphicImage url="/jsp/grafics/lupe.png" style="border-width:0" />
       <f:param name="id" value="#{item2.id}" />
       <f:param name="nr" value="perpectiveDetail" />
       </a4j:commandLink>
       </rich:column>
       </rich:scrollableDataTable>
      </h:form>
      


      called table, where no headers are shown and no button or link works anymore:
      <h:form id="main">
       <h:outputText value="#{msg.agent_content_hbaheader}" style="font-weight:bold;font-size:12px"/>
       <rich:scrollableDataTable frozenColCount="1" width="760px" height="150px" id="hbaboard" rows="0"
       value="#{AgentActionBean.agentContentHBAList}" var="item" selectionMode="none" >
       <rich:column id="wwnAddress" width="170px" >
       <f:facet name="header"><h:outputText value="#{msg.agent_content_hbatable_wwn}" /></f:facet>
       <rich:spacer width="3px" />
       <h:outputText value="#{item.wwnAddress}" />
       </rich:column>
       <rich:column width="100px" >
       <f:facet name="header"><h:outputText value="#{msg.agent_content_hbatable_host}" /></f:facet>
       <rich:spacer width="3px" />
       <h:outputText value="#{item.agent.host.name}" />
       </rich:column>
       <rich:column id="account" width="140px" >
       <f:facet name="header"><h:outputText value="#{msg.agent_content_hbatable_account}" /></f:facet>
       <rich:spacer width="3px" />
       <h:outputText value="#{item.account.name}" />
       </rich:column>
       <rich:column id="description" width="240px" >
       <f:facet name="header"><h:outputText value="#{msg.agent_content_hbatable_description}" /></f:facet>
       <rich:spacer width="3px" />
       <h:outputText value="#{item.description}" />
       </rich:column>
       <rich:column width="80px" >
       <f:facet name="header"><h:outputText value="#{msg.agent_content_hbatable_assign}" /></f:facet>
       <div align="center">
       <a4j:commandLink action="#{AgentContentActionBean.takeSelectionHBA}" oncomplete="javascript:Richfaces.showModalPanel('assignHBA');" reRender="main" >
       <h:graphicImage url="/jsp/grafics/switch.gif" style="border-width:0" />
       <f:param name="hid" value="#{item.id}" />
       </a4j:commandLink>
       </div>
       </rich:column>
       </rich:scrollableDataTable>
      </h:form>
      


      can somebody help me?

      thanks!