2 Replies Latest reply on Jan 3, 2012 8:20 AM by koallen

    Accept Attribute on rich:column

    koallen

      The  showcase example for rich:dataScroller inlcudes the attribute "accept" in the provided rich:dataTable, but the acceptVendor method does not exist in the source code for the filtering bean carsFilterinbean, does anyone know how this attribute is used ?

       

       

      <rich:dataTable value="#{carsBean.allInventoryItems}" var="car" id="table" rows="10">

                      <rich:column accept="#{carsFiteringBean.acceptVendor}">

                          <f:facet name="header">

                              <h:outputText value="Vendor " />

                          </f:facet>

                          <h:outputText value="#{car.vendor}" />

                      </rich:column>

                      <rich:column>

                          <f:facet name="header">

                              <h:outputText value="Model" />

                          </f:facet>

                          <h:outputText value="#{car.model}" />

                      </rich:column>

                      <rich:column>

                          <f:facet name="header">

                              <h:outputText value="Price" />

                          </f:facet>

                          <h:outputText value="#{car.price}" />

                      </rich:column>

                      <rich:column>

                          <f:facet name="header">

                              <h:outputText value="Mileage" />

                          </f:facet>

                          <h:outputText value="#{car.mileage}" />

                      </rich:column>

                      <rich:column>

                          <f:facet name="header">

                              <h:outputText value="VIN " />

                          </f:facet>

                          <h:outputText value="#{car.vin}" />

                      </rich:column>

                  </rich:dataTable>

                  <rich:dataScroller for="table" maxPages="5" />

        • 1. Re: Accept Attribute on rich:column
          mcmurdosound

          I cannot find the attribute / property "accept" anywhere in the rich:column sources for richfaces 4.1.0.FINAL

           

          Only:

                  breakRowBefore,

                  colspan,

                  comparator,

                  filter,

                  filterExpression,

                  filterValue,

                  footerClass,

                  headerClass,

                  rowspan,

                  sortBy,

                  sortOrder,

                  style,

                  styleClass,

                  width

          • 2. Re: Accept Attribute on rich:column
            koallen

            I could not find it either when I checked the source code, so that begs the question why it is in the showcase.