|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentTag
org.hdpagination.web.jsf.tag.AbstractBaseTag
org.hdpagination.web.jsf.tag.SelectSortTag
public class SelectSortTag
This JSF tag is used to render a dropdown (<select>) to allow the user to sort the search results by specified column in either ascending or descending order.
This tag is an alternative of the 'sortLink' tag which applies a sorting hyperlink to the column header in a search results table. This tag can be useful in some cases where there is no column header in the search results table (as a result you can not apply the 'sortLink' tag to the column header).
The 'selectSort' tag should be used together with 'sortOption' tag. 'sortOption' tags should be nested inside 'selectSort' tag and each 'sortOption' will render as a <option> HTML tag.
SortOptionTag,
SortLinkTag| Field Summary |
|---|
| Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase |
|---|
bodyContent, pageContext, UNIQUE_ID_PREFIX |
| Fields inherited from class javax.faces.webapp.UIComponentTagBase |
|---|
log |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Constructor Summary | |
|---|---|
SelectSortTag()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComponentType()
|
java.lang.String |
getRendererType()
|
| Methods inherited from class org.hdpagination.web.jsf.tag.AbstractBaseTag |
|---|
setAccesskey, setPagiDefinitionId, setProperties, setStyle, setStyleClass, setTabindex, setTitle |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
|---|
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, release, setBinding, setRendered |
| Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase |
|---|
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter |
| Methods inherited from class javax.faces.webapp.UIComponentTagBase |
|---|
getELContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
doEndTag, doStartTag, getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public SelectSortTag()
| Method Detail |
|---|
public java.lang.String getRendererType()
getRendererType in class javax.faces.webapp.UIComponentTagBasepublic java.lang.String getComponentType()
getComponentType in class javax.faces.webapp.UIComponentTagBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||