Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1548

Allow t:dataScroller to be Ajaxified using f:ajax

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.9
    • 1.1.10
    • Data Scroller
    • None

    Description

      After thinking a lot about it, to make it possible we need to do some things:

      • If no facet or paginator is rendered, render a <div> and the id, so when ajax occur it could be replaced.
      • If a facet or paginator is rendered, if an id is set render it.
      • Add "click", "dblclick" and "action" client events and copy them for all facets and paginator links.
      • Add "action" as default event name.

      In this way, we can add f:ajax tag inside t:dataScroller to tell when a link is click, which elements should be updated (usually the related dataTable).

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: