contentbox.plugins

Class Paging

railo-context.Component
        extended by contentbox.plugins.Paging
Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  

    A paging plugin for ContentBox

    Property Summary
    type property default serializable required
    any PagingBandGap


    true false
    any pagingMaxRows


    true false
    Constructor Summary
    init(any settingService)
    Method Summary
    struct getboundaries([numeric pagingMaxRows])
         Calculate the startrow and maxrow.
    string getPagingBandGap()
    string getPagingMaxRows()
    any renderit(numeric foundRows, string link, [numeric pagingMaxRows], [boolean asList='false'])
         render plugin tabs.
    any setPagingBandGap(any PagingBandGap)
    any setPagingMaxRows(any pagingMaxRows)
     
    Methods inherited from class railo-context.Component
    None

    Constructor Detail

    init

    public init(any settingService)

    Parameters:
    settingService

    Property Detail

    PagingBandGap

    property any PagingBandGap

    Attributes:
    required - false
    serializable - true

    pagingMaxRows

    property any pagingMaxRows

    Attributes:
    required - false
    serializable - true

    Method Detail

    getboundaries

    public struct getboundaries([numeric pagingMaxRows])

    Calculate the startrow and maxrow

    Parameters:
    pagingMaxRows - You can override the paging max rows here.

    getPagingBandGap

    public string getPagingBandGap()


    getPagingMaxRows

    public string getPagingMaxRows()


    renderit

    public any renderit(numeric foundRows, string link, [numeric pagingMaxRows], [boolean asList='false'])

    render plugin tabs

    Parameters:
    foundRows - The found rows to page
    link - The link to use, you must place the @page@ place holder so the link ca be created correctly
    pagingMaxRows - You can override the paging max rows here.
    asList - Render the paging links as lists or not

    setPagingBandGap

    public any setPagingBandGap(any PagingBandGap)

    Parameters:
    PagingBandGap

    setPagingMaxRows

    public any setPagingMaxRows(any pagingMaxRows)

    Parameters:
    pagingMaxRows