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

    Accept Attribute on rich:column

    koallen Newbie

      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" />