|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.BaseHandlerTag
org.apache.struts.taglib.html.LinkTag
org.apache.strutsel.taglib.html.ELLinkTag
org.apache.portals.bridges.struts.taglib.ELLinkTag
public class ELLinkTag
Supports the Struts html-el:link tag to be used within a Portlet context.
Field Summary | |
---|---|
protected PortletURLTypes.URLType |
urlType
Indicates which type of a url must be generated: action, render or resource. |
Fields inherited from class org.apache.struts.taglib.html.LinkTag |
---|
action, anchor, forward, href, indexId, linkName, messages, module, name, page, parameters, paramId, paramName, paramProperty, paramScope, property, scope, target, text, transaction, useLocalEncoding |
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
---|
accesskey, doDisabled, doReadonly, indexed, tabindex |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
ELLinkTag()
|
Method Summary | |
---|---|
protected String |
calculateURL()
Generates a PortletURL or a ResourceURL for the link when in the context of a PortletRequest , otherwise
the default behaviour is maintained. |
int |
doStartTag()
|
String |
getActionURL()
|
String |
getRenderURL()
|
String |
getResourceURL()
|
void |
release()
|
void |
setActionURL(String actionURL)
Render an ActionURL when set to "true" |
void |
setRenderURL(String renderURL)
Render a RenderURL when set to "true" |
void |
setResourceURL(String resourceURL)
Render a ResourceURL when set to "true" |
Methods inherited from class org.apache.strutsel.taglib.html.ELLinkTag |
---|
getAccesskeyExpr, getActionExpr, getAnchorExpr, getBundleExpr, getDirExpr, getForwardExpr, getHrefExpr, getIndexedExpr, getIndexIdExpr, getLangExpr, getLinkNameExpr, getModuleExpr, getNameExpr, getOnblurExpr, getOnclickExpr, getOndblclickExpr, getOnfocusExpr, getOnkeydownExpr, getOnkeypressExpr, getOnkeyupExpr, getOnmousedownExpr, getOnmousemoveExpr, getOnmouseoutExpr, getOnmouseoverExpr, getOnmouseupExpr, getPageExpr, getParamIdExpr, getParamNameExpr, getParamPropertyExpr, getParamScopeExpr, getPropertyExpr, getScopeExpr, getStyleClassExpr, getStyleExpr, getStyleIdExpr, getTabindexExpr, getTargetExpr, getTitleExpr, getTitleKeyExpr, getTransactionExpr, getUseLocalEncodingExpr, setAccesskeyExpr, setActionExpr, setAnchorExpr, setBundleExpr, setDirExpr, setForwardExpr, setHrefExpr, setIndexedExpr, setIndexIdExpr, setLangExpr, setLinkNameExpr, setModuleExpr, setNameExpr, setOnblurExpr, setOnclickExpr, setOndblclickExpr, setOnfocusExpr, setOnkeydownExpr, setOnkeypressExpr, setOnkeyupExpr, setOnmousedownExpr, setOnmousemoveExpr, setOnmouseoutExpr, setOnmouseoverExpr, setOnmouseupExpr, setPageExpr, setParamIdExpr, setParamNameExpr, setParamPropertyExpr, setParamScopeExpr, setPropertyExpr, setScopeExpr, setStyleClassExpr, setStyleExpr, setStyleIdExpr, setTabindexExpr, setTargetExpr, setTitleExpr, setTitleKeyExpr, setTransactionExpr, setUseLocalEncodingExpr |
Methods inherited from class org.apache.struts.taglib.html.LinkTag |
---|
addParameter, doAfterBody, doEndTag, getAction, getAnchor, getForward, getHref, getIndexId, getLinkName, getModule, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTarget, getTransaction, isUseLocalEncoding, setAction, setAnchor, setForward, setHref, setIndexId, setLinkName, setModule, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTarget, setTransaction, setUseLocalEncoding |
Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
---|
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDir, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLang, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareInternationalization, prepareKeyEvents, prepareMouseEvents, prepareName, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDir, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLang, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
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 |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
protected PortletURLTypes.URLType urlType
If not specified, the type will be determined by
PortletURLTypes.getType(String)
Constructor Detail |
---|
public ELLinkTag()
Method Detail |
---|
public String getActionURL()
public void setActionURL(String actionURL)
Supports jstl expression language.
actionURL
- when (evaluated to) "true" renders an ActionURLpublic String getRenderURL()
public void setRenderURL(String renderURL)
Supports jstl expression language.
renderURL
- when (evaluated to) "true" renders a RenderURLpublic String getResourceURL()
public void setResourceURL(String resourceURL)
Supports jstl expression language.
resourceURL
- when (evaluated to) "true" renders a ResourceURLprotected String calculateURL() throws javax.servlet.jsp.JspException
PortletRequest
, otherwise
the default behaviour is maintained.
calculateURL
in class org.apache.struts.taglib.html.LinkTag
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class org.apache.strutsel.taglib.html.ELLinkTag
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class org.apache.strutsel.taglib.html.ELLinkTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |