| org.apache.beehive.netui.tags.AbstractSimpleTag org.apache.beehive.netui.tags.databinding.datagrid.ConfigurePager
Method Summary | |
public void | doTag() Execute the ConfigurePager tag. | public String | getTagName() The name of this tag; this value is used for error reporting. | public void | setDefaultPageSize(Integer defaultPageSize) Set the default page size for the data grid. | public void | setDisableDefaultPager(boolean disableDefaultPager) Sets the value of an attribute that enables or disables rendering the data grid's default pager.
When this value is set to false , the data grid will not render its pager and rendering
is left to the page author. | public void | setPageAction(String pageAction) Set the action used to perform paging. | public void | setPageHref(String pageHref) Set the HREF used to perform paging. | public void | setPageSize(int pageSize) Set the page size for the current data grid. | public void | setPagerFormat(String pagerFormat) Set the appearance of the pager rendered by the data grid. | public void | setPagerRendererClass(String pagerRendererClass) Set a Java class name to create a
PagerRenderer used to render a data grid's pager. |
doTag | public void doTag() throws JspException(Code) | | Execute the ConfigurePager tag. When the ConfigurePager tag runs, it applies its tag attributes
onto a
DataGridTagModel state object which is used when the data grid renders its pager.
throws: JspException - when errors occur when processing this tag's attribute values |
getTagName | public String getTagName()(Code) | | The name of this tag; this value is used for error reporting.
the String name of this tag |
setDisableDefaultPager | public void setDisableDefaultPager(boolean disableDefaultPager)(Code) | | Sets the value of an attribute that enables or disables rendering the data grid's default pager.
When this value is set to false , the data grid will not render its pager and rendering
is left to the page author. When rendering is disabled, a pager can be rendered using the
RenderPager tag or manually in a page.
RenderPager |
setPagerFormat | public void setPagerFormat(String pagerFormat)(Code) | | Set the appearance of the pager rendered by the data grid. This attribute allows the page author to
choose from a set of pre-defined pager renderers which can be used to render paging UI
in a data grid. The values include:
prevNext which renders a pager as:
Page # of # Previous Next
where Previous and Next are anchors that can navigate to the previous and next pages. When
there is no previous or next page, Previous or Next are displayed as literal text.
firstPrevNextLast which renders a pager as:
Page # of # First Previous Next Last
where First, Previous, Next, and Last are anchors that can navigate to the first, previous, next, and last
pages respectively. When the anchors would reference invalid pages, First, Previous, Nest, and Last
are displayed as literal text.
|
|
|