Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-2156

Sheet: Commands in Header may help to Select, Filter, ...

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3.0
    • Core
    • None

    Description

      Example to call a filter in the backend on the data list:

            <tc:column label="Name">
              <f:facet name="bar">
                <tc:button label="Filter" omit="true">
                  <tc:link label="All" action="#{sheetBarController.planetsOnly}">
                    <f:ajax render="sheet"/>
                  </tc:link>
      

      Example to call a select-all in the backend on the data list:

            <tc:columnSelector>
              <f:facet name="bar">
                <tc:button omit="true">
                  <tc:link label="Select all on server" action="#{sheetBarController.selectAllOnServer}">
                    <f:ajax render="sheet"/>
                  </tc:link>
       

      The 2nd example is needed, because (when paging is activated) the given "select-all" checkbox in the table header only selects all visibled (on this paging page) rows.

      Attachments

        Activity

          People

            lofwyr Udo Schnurpfeil
            lofwyr Udo Schnurpfeil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: