|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport net.sf.portions.taglib.RedirectTag
Etiqueta que permite realizar una redirección automática desde una JSP a una Action
Field Summary | |
private java.lang.String |
action
Action a ejecutar |
private java.util.ResourceBundle |
bundle
ResourceBundle con los datos cargados del MessageResources de la aplicación |
private java.lang.String |
id
Identificador (opcional) para determinar en el MessageResources de la aplicación que valores de id , value del botón y clase css del botón del formulario (por defecto se usarán los determinados por las propiedades "portions.redirect.formId", "portions.redirect.submitValue" y "portions.redirect.submitClass"; pero en caso de especificar un id, se añadirá el un punto . y el id a los literales anteriores) |
private org.apache.commons.logging.Log |
log
Log de la clase |
private java.lang.String |
mode
Modo del portlet |
private static long |
serialVersionUID
Identificador universal de la versión de la clase |
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 | |
RedirectTag()
|
Method Summary | |
int |
doEndTag()
|
int |
doStartTag()
|
private java.lang.String |
getForm(javax.portlet.PortletURL url)
Genera un formulario HTML para realizar la redirección |
void |
setAction(java.lang.String action)
Establece el valor de la propiedad action. |
void |
setId(java.lang.String id)
Establece el valor de la propiedad id. |
void |
setMode(java.lang.String mode)
Establece el valor de la propiedad mode. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.commons.logging.Log log
private static final long serialVersionUID
private java.lang.String id
private java.lang.String action
private java.lang.String mode
private java.util.ResourceBundle bundle
Constructor Detail |
public RedirectTag()
Method Detail |
public void setId(java.lang.String id)
id
- El valor de id a establecer.public void setAction(java.lang.String action)
action
- El valor de action a establecer.public void setMode(java.lang.String mode)
mode
- El valor de mode a establecer.public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
TagSupport.doStartTag()
public int doEndTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
TagSupport.doEndTag()
private java.lang.String getForm(javax.portlet.PortletURL url)
url
- url a la que se redireccionará
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |