5 Replies Latest reply on Oct 22, 2008 6:09 AM by Konstantin Mishin

    scrollabe data table column headings problem in firefox

    ramki dirisala Novice

      hi,
      i am using richfaces 3.2.2 GA. but scrollable data table column headings are not coming in firefox. but coming in IE. can any one please tell me whats the work around for this.

        • 1. Re: scrollabe data table column headings problem in firefox
          Ilya Shaikovsky Master

          we already has such ussies opened for example

          https://jira.jboss.org/jira/browse/RF-4164

          If you think that your case differs from this please describe it more carefully. with page code and screenshots.

          • 2. Re: scrollabe data table column headings problem in firefox
            ramki dirisala Novice

            my problem is, when i run my application in firefox, scrollable data table headings are not coming. but i am able to see column headings in IE

            • 4. Re: scrollabe data table column headings problem in firefox
              ramki dirisala Novice

              hi,
              plz have look at my code.

              <rich:scrollableDataTable id="categoriesListForCustomer"
              value="#{maintainCategoriesBean.listRmCategory}"
              var="maintainCategories" rowClasses="rowColor1,rowColor2"
              columnClasses="columnClassCenter,columnClassCenter,columnClassLeft,columnClassLeft,columnClassCenter"
              rendered="#{not empty maintainCategoriesBean.listRmCategory}"
              height="300px" width="645px">
              <rich:column width="0px" sortable="false">
              <h:inputHidden value="#{maintainCategories.updateFlag}"
              id="chkUpdateFlag"></h:inputHidden>
              </rich:column>
              <rich:column width="100px">
              <f:facet name="header">
              <h:outputLabel style="color:#FFFFFF"
              value="#{messages.labelMaintainCategories_CategoryID}" />
              </f:facet>
              <h:outputText value="#{maintainCategories.recipeCategoryId}" />
              </rich:column>

              <rich:column width="270px">
              <f:facet name="header">
              <h:outputLabel style="color:#FFFFFF"
              value="#{messages.labelMaintainCategories_CategoryName}" />
              </f:facet>
              <h:inputText size="40" id="griedCategoryNames"
              value="#{maintainCategories.categoryTitle}" required="true"
              requiredMessage="Cookbook Name is Required" maxlength="200"
              valueChangeListener="#{maintainCategoriesBean.categoryCodeListener}"
              disabled="#{maintainCategoriesBean.categoryDTO.disable}"
              onchange="checkUpdateFlag(this)">
              <f:validator validatorId="splCharValidator" />
              </h:inputText>
              <a4j:outputPanel ajaxRendered="true">
              <rm:message forId="griedCategoryNames"
              image="../images/error.gif" />
              </a4j:outputPanel>
              </rich:column>


              <rich:column width="201px">
              <f:facet name="header">
              <h:outputLabel style="color:#FFFFFF"
              value="#{messages.labelMaintainCategories_OwnedBy}" />
              </f:facet>
              <h:column>
              <h:graphicImage value="../images/p_dot.png"
              rendered="#{maintainCategories.gfsCustomerTypeCode == 5}" />
              <h:graphicImage value="../images/f_dot.png"
              rendered="#{maintainCategories.gfsCustomerTypeCode == 3}" />
              <h:graphicImage value="../images/u_dot.png"
              rendered="#{maintainCategories.gfsCustomerTypeCode == 0}" />
              <rich:spacer width="5" />
              <rm:substring string="#{maintainCategories.ownerName}"
              alt="#{maintainCategories.ownerName}" />
              <rich:spacer width="10"></rich:spacer>
              <h:commandLink value="#{messages.labelAllPages_Change}"
              rendered="#{maintainCategoriesBean.iconFlag}"
              onclick="javascript:Richfaces.showModalPanel('mp',{width:350,height:100,top:200,left:300});return false;" />
              </h:column>
              </rich:column>

              <rich:column width="60px">
              <f:facet name="header">
              <h:outputLabel style="color:#FFFFFF"
              value="#{messages.labelMaintainCategories_Actions}" />
              </f:facet>
              <h:commandLink action="#{maintainCategoriesBean.deleteMethod}"
              onclick="if (!confirm('Are you sure you want to delete this record?')) return false">
              <a4j:actionparam
              assignTo="#{maintainCategoriesBean.selectedRow}"
              name="selectedRow"
              value="#{maintainCategories.recipeCategoryId}"></a4j:actionparam>
              <h:graphicImage value="../images/delete_icon.jpg"
              alt="Delete Category" styleClass="grid_button_style"></h:graphicImage>
              </h:commandLink>

              </rich:column>

              <f:facet name="footer">
              <rich:columnGroup styleClass="gridFooter">
              <rich:column colspan="4">
              <rich:spacer width="495" />
              <rich:spacer width="15"></rich:spacer>
              <h:commandButton value="#{messages.btnAllPages_SaveChanges}"
              styleClass="button_style_large"
              action="#{maintainCategoriesBean.saveChanges}" />

              <!--<h:commandButton value="#{messages.btnAllPages_Cancel}" id="Cancel" styleClass="button_style" onclick="javascript:Richfaces.showModalPanel('mp',{width:350,height:100,top:200,left:300});return false;" />-->
              </rich:column>
              </rich:columnGroup>
              </f:facet>
              </rich:scrollableDataTable>

              • 5. Re: scrollabe data table column headings problem in firefox
                Konstantin Mishin Novice

                You might try to insert header facet in first column.