All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.dandelion-datatables.tld Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version



    Set of tags for manipulating HTML table with
        DataTables.
    dandelion-datatables
   0.92
   datatables
   http://github.com/dandelion/datatables

   
   
   
   
       Generate a HTML table thanks to the awesome
           DataTables jQuery plugin.
       table
       com.github.dandelion.datatables.jsp.tag.TableTag
       com.github.dandelion.datatables.jsp.tei.TableTagExtraInfo
       JSP
       
           (required) DOM id of the HTML table.
           id
          true
          true
      
      
          Collection of data used to populate the table.
              (Either data or url attribute is required)
          data
          true
          java.lang.Object
      
      
          Web service URL used to populate the table.
              (Either data or url attribute is required)
          url
          true
      
      
          Name of the object representing the current
              row.
              If
              data must be displayed without any decoration,
              use
              property
              attribute on column tag.
          row
          true
      
       
           (block|fadein[,duration]) Display mode used when
               the table has finished loading and must appear in the page.
               A duration
               can be set (in milliseconds) if the display mode
               is set to
               "fadein". (Default : "fadein")
           appear
           true
      
      
          (true|false) Enable the DataTables source files
              to
              be loaded
              from the Microsoft CDN (Content Delivery
              Framework)
              preventing you from hosting the files
              yourself. (Default :
              false)
          cdn
         true
      
      
         CSS style applied on the HTML table. (HTML
            style
            attribute)
          cssStyle
          true
      
      
         CSS class(es) applied on the HTML table. (HTML
            class attribute)
          cssClass
          true
      
      
          Useful if you want each row has a DOM id. This
              attribute is evaluated as a property of the current
              iterated
              bean. (Only if DOM datasource)
          rowIdBase
          true
      
      
          String which is prepended to the rowIdBase
              attribute, in order to build row id. (HTML id attribute)
          rowIdPrefix
          true
      
      
         String which is appended to the rowIdBase
             attribute, in order to build row id. (HTML id attribute)
          rowIdSufix
          true
      
      
           (true|false) Defer the creation of the table
               elements for each row until they are needed for a draw.
               (Default : false, see
               http://datatables.net/ref#bDeferRender)
           deferRender
           true
      

      
      
      
      
         (true|false) Enable or disable the table
            information display. This shows information about the
            data
            that is currently visible on the page, including
            information
            about filtered data if that action is being
            performed.
            (Default : true, see
            http://datatables.net/ref#bInfo)
          info
          true
      
      
         (true|false) Enable or disable pagination.
            (Default : true, see
            http://datatables.net/ref#bPaginate)
          paginate
          true
      
      
         (true|false) If paginate is enabled, allows the
            end user to select the size of a formatted page from a
            select menu (sizes are 10, 25, 50 and 100). (Default :
            true,
            see http://datatables.net/ref#bLengthChange)
          lengthChange
          true
      
      
         (two_button|full_numbers) Choice between the
            two
            different built-in pagination interaction methods
            ('two_button' or 'full_numbers') which present different
            page controls to the end user. (Default : two_button,
            see
            http://datatables.net/ref#sPaginationType)
          paginationType
          true
      
      
         (true|false) Enable or disable filtering of
            data.
            (Default : true, see
            http://datatables.net/ref#bFilter)
          filter
          true
      
      
         (true|false) Enable or disable sorting of all
            columns.
            Sorting of individual columns can be disabled by
            the
            "sortable" attribute of column tag. (Default : true,
            see
            http://datatables.net/ref#bSort)
          sort
          true
      
      
          (true|false) Enable or disable automatic column
              width calculation. (Default : true, see
              http://datatables.net/ref#bAutoWidth)
          autoWidth
          true
          java.lang.Boolean
      
      
         Allows you to specify exactly where in the DOM you want DataTables to inject the various controls it adds to the page (for example you might want the pagination controls at the top of the table). DIV elements (with or without a custom class) can also be added to aid styling.
         dom
          true
      
      
         (true|false) Enable or disable the display of a
            'processing' indicator when the table is being processed
            (e.g. a sort). This is particularly useful for tables
            with
            large amounts of data where it can take a noticeable
            amount
            of time to sort the entries. (Default : false, see
            http://datatables.net/ref#bProcessing)
          processing
          true
      
      
         Configure DataTables to use server-side processing
          serverSide
          true
      
      
         Allows you to override the default function which obtains the data from the server ($.getJSON) so something more suitable for your application
          serverData
          true
      
      
         Allows you to send extra information to the server when using AJAX source
          serverParams
          true
      
      
         Enable pipelining data for paging when server-side
            processing is enabled
          pipelining
          true
      
      
         Pipe size used when pipelining is enabled, ie
            times that the user can page before a request must be made
            of the server. (Default : 5)
          pipeSize
          true
      
      
         (true|false) Enable or disable state saving.
            When
            enabled a cookie will be used to save table display
            information such as pagination information, display
            length,
            filtering and sorting. As such when the end user
            reloads the
            page the display display will match what thy
            had previously
            set up. (Default : false, see
            http://datatables.net/ref#bStateSave)
          stateSave
          true
      
      
         (true|false) Enable or disable the export
            functionality
          export
          true
      
      
         (TOP_LEFT|TOP_MIDDLE|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_MIDDLE|BOTTOM_RIGHT)
            Comma-separated list of positions where the export
            links will
            be generated (Default : TOP_RIGHT)
          exportLinks
          true
      
      
         (true|false) Enable jQuery UI ThemeRoller
            support
            (Default : false, see
            http://datatables.net/ref#bJQueryUI)
          jqueryUI
          true
      
      
         (header) Choose if you want to have the footer
            appear.
            (Default : none)
          footer
          true
      
      
         Name of a theme to activate for the current table.
            (Default : none)
          theme
          true
      
      
         Name of an option to activate in relation to the
            current activated theme.
          themeOption
          true
      
      
         Specify the entries in the length drop down menu that DataTables show when pagination is enabled.
         lengthMenu
         true
      
      
         Comma-separated list of CSS classes that should be applied to displayed rows. This array may be of any length, and DataTables will apply each class sequentially, looping when required.
         cssStripes
         true
      
      
         Number of rows to display on a single page when using pagination.
         displayLength
         true
      
      
         Comma-separated names of custom extensions to register in the current table
         ext
         true
      
      
         Name of the configuration group to activate for the current table.
         confGroup
         true
      
      
         Placeholder used to hold the individual column filtering elements.
         filterPlaceholder
         true
      
      
      
      
      

      
      
         (true|false) Enable or disable the DataTables
            FixedHeader plugin. (Default : false) (See :
            http://datatables.net/extras/fixedheader/)
          fixedHeader
          true
      
      
         (top|bottom|left|right) Respectively fix the
            header, footer, left column, right column. (Default :
            top)
          fixedPosition
          true
      
      
         Offset applied on the top.
          offsetTop
          true
          java.lang.Integer
      

      
      
         (true|false) Enable or disable the DataTables
            Scroller plugin. (Default : false) (See :
            http://datatables.net/extras/scroller/)
          scroller
          true
      
      
         Table's height to display in scrolling mode.
            (default : 300px)
          scrollY
          true
      
      
          (true|false) When vertical (y) scrolling is enabled, 
         	DataTables will force the height of the table's viewport to the 
         	given height at all times (useful for layout). However, this can 
         	look odd when filtering data down to a small data set, and 
         	the footer is left "floating" further down. This parameter 
         	(when enabled) will cause DataTables to collapse the table's 
         	viewport down when the result set will fit within the given 
         	Y height. (default : false)
          scrollCollapse
          true
      
      
          Table's width to display in scrolling mode.
          (default : disabled)
          scrollX
          true
      
      
          Use more width than it might otherwise do when 
          x-scrolling is enabled.
          (default : disabled)
          scrollXInner
          true
      

      
      
         (true|false) Enable or disable the DataTables
            ColReorder plugin. (Default : false) (See :
            http://datatables.net/extras/colreorder/)
          colReorder
          true
      
      true
   

   
   
   
   
       Allows to fill an HTML caption tag in the table.
       caption
       com.github.dandelion.datatables.jsp.tag.CaptionTag
       JSP
       
          "title" attribute of the HTML caption tag.
          title
          true
       
       
           (required) DOM id of the HTML table.
           id
           true
      
      
         CSS style applied on the HTML table. (HTML style
            attribute)
          cssStyle
          true
      
      
         CSS class(es) applied on the HTML table. (HTML
            class attribute)
          cssClass
          true
      
   
   
       Allows to fill a column header with more complex
           content than a usual title.
       columnHead
       com.github.dandelion.datatables.jsp.tag.ColumnHeadTag
       JSP
      
          Unique arbitrary id of the column, used in
              relation to the column tag.
          uid
          true
          true
      
   
   
       Describe a column of the HTML table.
       column
       com.github.dandelion.datatables.jsp.tag.ColumnTag
       JSP
      
          Unique arbitrary id of the column, used in
              relation to the columnHead tag
          uid
          true
      
      
          Column title.
          title
          true
      
      
          Resource key used to lookup the title value in the configured resource bundle
          titleKey
          true
      
      
          Name of the attribute of the current object
              being
              iterated object on, regardless the data source (DOM
              or AJAX)
          property
          true
      
      
         Default value if the property's value is null
            (Default : empty string)
          default
          true
      
      
         (true|false) Enable or disable sorting on
            column.
            (Default : true)
          sortable
          true
      
      
         (asc|desc) If sortable is enabled, set the
            default
            sorting direction (Default : asc)
          sortInit
          true
      
      
         If sortable is enabled, allow to control the
            sorting direction(s)
          sortDirection
          true
      
      
         (true|false) Enable or disable a filtering field in the column's foot. (Default : false)
          filterable
          true
      
      
          (true|false) Enable or disable filtering on
              column. (Default : true)
          searchable
          true
      
      
          (true|false) Enable or disable the display of the column. (Default : true)
          visible
          true
      
      
         (SELECT|INPUT) If filterable is enabled, you
            can
            choose the filter type between 'SELECT' and 'INPUT',
            adding
            either select box or input field in the table's
            footer
            (Default : INPUT)
          filterType
          true
      
      
         Name of a Javascript array of string that will be used to populate a filtering drop-down list
          filterValues
          true
      
      
         If filterable is enabled and filterType is
            'INPUT', you can apply a CSS class to the input field
            with
            this attribute
          filterCssClass
          true
      
      
         CSS style applied on header cell (th HTML tag)
          cssStyle
          true
      
      
         CSS style applied on every table cell (td HTML
            tag)
          cssCellStyle
          true
      
      
         CSS class applied on header cell (th HTML tag)
          cssClass
          true
      
      
         CSS class applied on every table cell (td HTML
            tag)
          cssCellClass
          true
      
      
         (ALL[,HTML|,XML|,CSV]) Comma-separated list of
            string which indicates in which view(s) the column's body
            will be displayed. (Default : ALL)
          display
          true
      
      
         Name of an external Javascript function that will be used to render the column (AJAX only)
         renderFunction
         true
      
      
         A MessageFormat pattern that will be used to format the property. (DOM only)
         format
         true
      
      
         jQuery selector used to populate a placeholder with a filtering widget.
         selector
         true
      
      
         Type of sorting function to apply on the column.
         sortType
         true
      
      true
   

   
   
   
   
      
      extraFile
      com.github.dandelion.datatables.jsp.tag.ExtraFileTag
      empty
      
          Location of the file containing DataTables
              configuration.
          src
          true
          true
      
      
          (BEFOREALL|AFTERSTARTDOCUMENTREADY|BEFORENDDOCUMENTREADY|AFTERALL)
              Specify where the extra file must be inserted. (Default
              :
              BEFOREALL)
          insert
          true
      
   

   
   
   
   
       Allow to specify the location of a file containing
           a
           JSON-formatted DataTables configuration to merge with the
           generated one.
       extraConf
       com.github.dandelion.datatables.jsp.tag.ExtraConfTag
       empty
       
           Location of the file containing the extra
               DataTables configuration
           src
          true
          true
      
   

   
   
   
   
      Allow to override properties normally defined in
         the
         Dandelion properties file.
      prop
      com.github.dandelion.datatables.jsp.tag.PropTag
      empty
      
          Property's name to override.
          name
          true
      
      
          Property's value to override.
          value
          true
      
   

   
   
   
   
       Configure the HTML link and properties for a given
           export type.
       export
       com.github.dandelion.datatables.jsp.tag.ExportTag
       empty
      
          (XML|CSV) Type of export (Default : XML,CSV)
          type
          true
          true
      
      
          Name of the file containing exported data
              (Default
              : the export type uppercased)
          fileName
          true
      
      
          Label of the HTML link
          label
          true
      
      
         CSS style applied to the HTML link
          cssStyle
          true
      
      
         CSS class applied to the HTML link
          cssClass
          true
      
      
         (true|false) Indicated whether headers should
            be
            added in export or not (for compatible export)
            (Default :
            true)
          includeHeader
      
      
         (true|false) Indicates whether columns should be
            auto-sized or not (only for XLS export)
            (Default : true)
          autoSize
      
      
         Custom export URL that will be called using a HTTP GET when clicking on the associated link(s)
         url
         true
      
      
         HTTP method used to make the export call
         method
         true
      
   
   
   
   
   
   
       Add a DataTables callback.
       callback
       com.github.dandelion.datatables.jsp.tag.CallbackTag
       empty
      
          Type of callback
          type
          true
      
      
          Name of the function to execute as a callback
          function
          true
          true
      
   





© 2015 - 2024 Weber Informatics LLC | Privacy Policy