com.ejie.r01f.taglibs.xtags
Class ObjectListTag

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

public class ObjectListTag
extends BaseXTag

Clase base para una lista de objetos de un formulario html, como ejemplo de utilización ver el siguiente ejemplo: .... .... ... .... .... Para obtener este xml se utilizarán por ejemplo la siguiente estructura de xtags: Todo esto se refleja en un objeto XTag en memoria que almacena la información necesaria para generar JavaScript. La estructura de un XTag se ve en los siguientes ejemplos: proyecto.interlocutor.nombre seria. XTag (proyecto - objeto) XTag (Interlocutor - objeto) XTag (nombre - propiedad) XTag (direccion - propiedad) En el caso de una lista: proyecto.presupuestos.presupuesto.valor XTag (proyecto - objeto) XTagElement (Presupuestos - lista) XTag (Presupuesto - objeto) XTag (Valor - propiedad)

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
ObjectListTag()
           
 
Method Summary
 int doEndTag()
          Process the end of this tag.
 int doStartTag()
          Process the start of this tag.
 void release()
          Libera recursos
 
Methods inherited from class com.ejie.r01f.taglibs.xtags.BaseXTag
getCheck, getFullPathName, getGenerateHTML, getGenerateJS, getId, getIsAttribute, getIsCDATA, getName, getXmlElemName, setCheck, setGenerateHTML, setGenerateJS, setId, setIsAttribute, setIsCDATA, setName, setXmlElemName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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

ObjectListTag

public ObjectListTag()
Method Detail

release

public void release()
Libera recursos

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BaseXTag

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag. The default implementation does nothing.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

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