com.ejie.r01f.taglibs.xtags
Class RPCFunctionTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.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

Field Summary
 
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
RPCFunctionTag()
           
 
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
 

Constructor Detail

RPCFunctionTag

public RPCFunctionTag()
Method Detail

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