|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.ipage.IMenuTag
public class IMenuTag
IMenuTag is the tag handler class for the sas:IMenu custom tag IMenuTag is invoked by the JSP page to evaluate the sas:IMenu custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, IMenu, to execute the methods.
If you need to extend or modify the functionality of the sas:IMenu custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:IMenu custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
BaseIPage
,
IMenu
,
IMenuItemTag
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
RB_KEY
|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS |
Constructor Summary | |
---|---|
IMenuTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes on the underlying IMenu object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Process the start tag for this instance. |
java.util.Vector |
getBodyDescriptions()
Gets the body description Vector for this menu. |
java.util.Vector |
getBodyURLs()
Gets the body URL Vector for this menu. |
int |
getEndIndex()
Gets the endIndex property (String). |
int |
getMaxItemsDisplayed()
Gets the maxItemsDisplayed property (String). |
java.lang.String |
getModel()
Gets the model property (String). |
java.lang.String |
getmoreURL()
Gets the moreURL property (String). |
java.lang.String |
getPostMenuText()
Gets the postMenuText property (String). |
java.lang.String |
getPreMenuText()
Gets the preMenuText property (String). |
int |
getStartIndex()
Gets the startIndex property (String). |
java.lang.String |
getURLFormat()
Gets the URLFormat property (String). |
java.lang.String |
getURLModel()
Gets the URLModel property (String). |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
void |
setEndIndex(int endIndex)
Sets the endIndex property (int). |
void |
setMaxItemsDisplayed(int maxItemsDisplayed)
Sets the maxItemsDisplayed property (int). |
void |
setModel(java.lang.String model)
Sets the model property (String). |
void |
setMoreURL(java.lang.String moreURL)
Sets the moreURL property (String). |
void |
setPostMenuText(java.lang.String postMenuText)
Sets the postMenuText property (String). |
void |
setPreMenuText(java.lang.String preMenuText)
Sets the preMenuText property (String). |
void |
setStartIndex(int startIndex)
Sets the startIndex property (int). |
void |
setURLFormat(java.lang.String URLFormat)
Sets the URLFormat property (String). |
void |
setURLModel(java.lang.String URLModel)
Sets the URLModel property (String). |
Methods inherited from class com.sas.taglib.servlet.tbeans.ipage.BaseIPageTag |
---|
getCacheTimeToLive, getTitle, setCacheTimeToLive, setTitle |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public IMenuTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseIPageTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setPreMenuText(java.lang.String preMenuText)
preMenuText
- The text to be displayed before the menu.public java.lang.String getPreMenuText()
public void setPostMenuText(java.lang.String postMenuText)
postMenuText
- The text to be displayed after the menu.public java.lang.String getPostMenuText()
public void setURLFormat(java.lang.String URLFormat)
URLFormat
- When used this String will be used for every menu item. "##" is replaced with model values.public java.lang.String getURLFormat()
public void setStartIndex(int startIndex)
startIndex
- The starting index in the menupublic int getStartIndex()
public void setEndIndex(int endIndex)
endIndex
- The ending index in the menupublic int getEndIndex()
public void setMaxItemsDisplayed(int maxItemsDisplayed)
maxItemsDisplayed
- The maximum number of items displayed at a time in the menu.public int getMaxItemsDisplayed()
public void setModel(java.lang.String model)
model
- The model to be used for the menu items names.public java.lang.String getModel()
public void setURLModel(java.lang.String URLModel)
URLModel
- The URL model (destinations) to be used for the menu.public java.lang.String getURLModel()
public void setMoreURL(java.lang.String moreURL)
moreURL
- The URL for the next pagepublic java.lang.String getmoreURL()
public java.util.Vector getBodyURLs()
public java.util.Vector getBodyDescriptions()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.BaseBodyTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseIPageTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.TagSupport.doEndTag()
,
BaseBodyTag.setInstantiate(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |