|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.AbstractTag
org.loom.tags.core.RedirectTag
@Tag(dynamicAttributes=true,
bodyContent=SCRIPTLESS)
public class RedirectTagRedirect the current request This tag is useful for index.jsp pages that will be redirected to some action class. In this case, they should be used alone in an empty jsp page.
| Field Summary |
|---|
| Fields inherited from class org.loom.tags.AbstractTag |
|---|
expressionLanguageProxy, loomServletRequestFactory, out, repository, request, response |
| Constructor Summary | |
|---|---|
RedirectTag()
|
|
| Method Summary | |
|---|---|
ParameterContainer |
addParameter(java.lang.String name,
java.lang.Object value)
Adds a parameter to the resulting url |
void |
doTagImpl()
The method that must be implemented by the child class |
void |
setAction(java.lang.String action)
The action this link points to. |
void |
setEvent(java.lang.String event)
The event this link points to. |
void |
setHash(java.lang.String hash)
The hash of the url (the fragment after '#') |
void |
setHref(java.lang.String href)
The target url. |
void |
setMapping(java.lang.String mapping)
The mapping as action.event. |
void |
setRequest(LoomServletRequest request)
|
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedirectTag()
| Method Detail |
|---|
public void setRequest(LoomServletRequest request)
setRequest in class AbstractTag
public void doTagImpl()
throws javax.servlet.jsp.JspException,
java.io.IOException
AbstractTag
doTagImpl in class AbstractTagjavax.servlet.jsp.JspException
java.io.IOException
public ParameterContainer addParameter(java.lang.String name,
java.lang.Object value)
ParameterContainer
addParameter in interface ParameterContainername - the name of the parametervalue - the value of the parameter
@Attribute public void setAction(java.lang.String action)
@Attribute public void setEvent(java.lang.String event)
@Attribute public void setMapping(java.lang.String mapping)
action.event. This method is equivalent to
setting action and event separately.
@Attribute public void setHash(java.lang.String hash)
@Attribute public void setHref(java.lang.String href)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||