com.ejie.r01f.taglibs.xtags
Class RPCProtocolDataTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.ejie.r01f.taglibs.xtags.RPCProtocolDataTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class RPCProtocolDataTag
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... Tambien se puede forzar la recarga del servlet

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
RPCProtocolDataTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
          Process the end of this tag.
 int doStartTag()
          Process the start of this tag.
 java.lang.String getName()
          Devuelve el nombre del dato auxiliar de protocolo
 java.lang.String getValue()
          Devuelve el valor del dato auxiliar de protocolo
 void release()
          Libera recursos
 void setName(java.lang.String x)
          Establece el nombre del dato auxiliar de protocolo
 void setValue(java.lang.String x)
          Establece el valor del dato auxiliar de protocolo
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

RPCProtocolDataTag

public RPCProtocolDataTag()
Method Detail

release

public void release()
Libera recursos


doStartTag

public int doStartTag()
Process the start of this tag. The default implementation does nothing.


doAfterBody

public int doAfterBody()

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 del dato auxiliar de protocolo


getName

public java.lang.String getName()
Devuelve el nombre del dato auxiliar de protocolo


setValue

public void setValue(java.lang.String x)
Establece el valor del dato auxiliar de protocolo


getValue

public java.lang.String getValue()
Devuelve el valor del dato auxiliar de protocolo