|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.ibm.ccd.ui.tags.UISearchResultTag
public class UISearchResultTag
This class is a Tag used to display contents of a Collection. It iterates through a Collection and displays it's content in Tabular Format. If a field is sortable, then the particular column in the table is sortable. If it is a link, then the field is rendered as a HTML Link. If the collection has to be lazily loaded, then the collection is traversed using some links for traversal.
Field Summary | |
---|---|
protected int |
maxCols
max displayable cols |
protected java.util.ArrayList |
metaDataList
Identifier ArrayList |
protected javax.servlet.jsp.JspWriter |
out
Identifier JspWriter |
protected org.apache.jetspeed.portlet.PortletContext |
portletContext
Initializing the PortletContext |
protected org.apache.jetspeed.portlet.PortletRequest |
portletRequest
Initializing the PortletContext |
protected java.lang.String |
primaryKey
Attribute name of Primary key |
protected ResultData |
resultData
list of result data elements |
protected java.util.ArrayList |
resultDataList
list of result data elements |
protected SearchResultBean |
resultsBean
the View Bean |
protected ResultRowData[] |
rowData
Identifier ResultRowData[] |
static java.lang.String |
SEARCH_UTIL_PORTLET
|
protected java.util.ArrayList |
searchElements
Contains the list of BaseSearchElement |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
UISearchResultTag()
|
Method Summary | |
---|---|
protected void |
constructHeadings()
This method generates the HTML for the collection headings |
protected java.lang.String |
constructLink(java.lang.String action)
Constructs a link for the navigation linkss |
protected void |
constructNavigationLinks()
This method generates the HTML for the collection headings |
protected void |
constructResultTable()
This method generates the HTML for the collection Form |
protected void |
constructRows()
This method generates the HTML for the collection rows |
protected void |
displayPrimaryKey(java.util.HashMap dataElements)
|
protected void |
displayTitle()
|
int |
doStartTag()
This method is the first method to be called. |
protected java.lang.String |
getDisplayValue(java.lang.String colName,
java.lang.String textValue)
|
protected void |
orderResultMetaData()
Ordrs the list according to user selection |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SEARCH_UTIL_PORTLET
protected javax.servlet.jsp.JspWriter out
protected java.util.ArrayList metaDataList
protected java.util.ArrayList resultDataList
protected ResultRowData[] rowData
protected SearchResultBean resultsBean
protected ResultData resultData
protected int maxCols
protected org.apache.jetspeed.portlet.PortletContext portletContext
protected org.apache.jetspeed.portlet.PortletRequest portletRequest
protected java.util.ArrayList searchElements
protected java.lang.String primaryKey
Constructor Detail |
---|
public UISearchResultTag()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
protected void constructResultTable() throws java.io.IOException
java.io.IOException
protected void constructHeadings() throws java.io.IOException
java.io.IOException
protected void displayTitle() throws java.io.IOException
java.io.IOException
protected void constructRows() throws java.io.IOException
java.io.IOException
protected void displayPrimaryKey(java.util.HashMap dataElements) throws java.io.IOException
java.io.IOException
protected java.lang.String getDisplayValue(java.lang.String colName, java.lang.String textValue)
colName
- textValue
-
protected void constructNavigationLinks() throws java.io.IOException
java.io.IOException
protected java.lang.String constructLink(java.lang.String action) throws java.io.IOException
action
- , for which the link needs to be constructed
java.io.IOException
protected void orderResultMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |