public interface ListDecorator
Modifier and Type | Method and Description |
---|---|
void |
addColumn()
Notifies the decorator that a column has been detected
|
void |
afterBottomPagination()
Notifies the decorator that bottom pagination controls have been rendered
|
void |
afterList()
Notifies the decorator that list rendering is complete
|
void |
afterTopPagination()
Notifies the decorator that top pagination controls have been rendered
|
void |
beforeList()
Notifies the decorator that list rendering is about to begin
|
void |
beforeTopPagination()
Use this hook to insert content before the top pagination
|
void |
onBottomExtraAddons()
With this hook one can insert extra addons after the list
|
void |
onBottomExtraContent()
With this hook one can insert content after the list
|
void |
onFooterExtraAddons()
With this hook one can insert extra addons in the footer
|
void |
onFooterExtraContent()
With this hook one can insert content in the footer
|
void |
onHeadExtraAddons()
With this hook one can insert extra addons in the heading
|
void |
onHeadExtraContent()
With this hook one can insert content in the heading
|
void |
onTopExtraAddons()
With this hook one can insert extra addons in the before the list
|
void |
onTopExtraContent()
With this hook one can insert content before the list
|
void |
setCurrentList(ListTag currentList)
Sets a refernce to the currently rendering list tag
|
void |
setEnvironment(javax.servlet.jsp.PageContext ctx,
ListSetTag parent,
java.lang.String listName)
Sets up the runtime environment for the decorator
|
void addColumn()
void beforeList() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid afterTopPagination() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid afterBottomPagination() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid afterList() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid setEnvironment(javax.servlet.jsp.PageContext ctx, ListSetTag parent, java.lang.String listName)
ctx
- current JSP PageContextparent
- enclosing ListSetTaglistName
- name of listvoid setCurrentList(ListTag currentList)
currentList
- the current list tagvoid beforeTopPagination() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- exceptionvoid onTopExtraContent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- exceptionvoid onHeadExtraContent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- exceptionvoid onFooterExtraContent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- exceptionvoid onBottomExtraContent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- exceptionvoid onTopExtraAddons() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid onHeadExtraAddons() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid onFooterExtraAddons() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happenedvoid onBottomExtraAddons() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- something bad happened