com.ejie.r01f.taglibs.xtags
Class RPCFunctionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.ejie.r01f.taglibs.xtags.RPCFunctionTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class RPCFunctionTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
Clase que implementa un jsp custom tag para realizar una llamada rpc del
lado del servidor como en el siguiente ejemplo:
Some Value
Some Other Value
other something
Este snippet lo que hace es una llamada RPC a la funcion doSomething(String someParam,String someOtherParam)
del modulo test con los valores de los parametros que se pasan.
Adicionalmente se envian un par de datos de protocolo...
- See Also:
- Serialized Form
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 |
Method Summary |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
java.lang.String |
getName()
Devuelve el nombre de la funcion rpc |
void |
release()
Libera recursos |
void |
setName(java.lang.String x)
Establece el nombre de la función rpc |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
RPCFunctionTag
public RPCFunctionTag()
release
public void release()
- Libera recursos
doStartTag
public int doStartTag()
- Process the start of this tag. The default implementation does nothing.
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Process the end of this tag. The default implementation does nothing.
- Throws:
javax.servlet.jsp.JspException
- if a JSP exception has occurred
setName
public void setName(java.lang.String x)
- Establece el nombre de la función rpc
getName
public java.lang.String getName()
- Devuelve el nombre de la funcion rpc