|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.bea.p13n.servlets.jsp.TagSupport
com.beasys.commerce.ebusiness.catalog.tags.CatalogSelectorTag
The tag handler of the catalog jsp extension tag 'catalogSelector'. The catalogtSelector tag allows personalized catalog items to be selected based on user profile.
Field Summary | |
protected String |
id
To store the value of id attribute. |
protected String |
selector
The name of the selector rule in the rule set. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 | |
CatalogSelectorTag()
|
Method Summary | |
int |
doStartTag()
Processes the start tag. |
protected ViewIterator |
getCatalogItems()
Get the ViewIterator over catalog items. |
String |
getId()
Gets the id to assign the results to. |
protected AdviceRequest |
getRequest()
Returns a CatalogSelector AdviceRequest object after populating the following fields The current HTTP Request The current HTTP Session The current User A new TimeInstant A new Time A new Date A RULES_RULENAME_TO_FIRE A RULES_FILTER_CLASS_NAME |
String |
getRule()
Get name of the selector rule in the ruleSet. |
void |
release()
Reinitializes the instance data in this object. |
void |
setId(String anId)
Sets the id to assign the results to. |
void |
setRule(String aSelector)
Set name of the selector rule in the rule set. |
Methods inherited from class com.bea.p13n.servlets.jsp.TagSupport |
createAdviceRequest, createAdvisor |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String id
protected String selector
Constructor Detail |
public CatalogSelectorTag()
Method Detail |
public int doStartTag() throws JspException
JspException
- if an error.
occurrs during content retrieval.protected ViewIterator getCatalogItems() throws JspException
JspException
- If unable to get advice or if incomplete advice is received.public String getId()
protected AdviceRequest getRequest() throws JspException
JspException
- If there is a problem creating the request.public String getRule()
public void release()
public void setId(String anId)
anId
- The id for the results.public void setRule(String aSelector)
aSelector
- The name of the selector rule.
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |