pt.despodata.java.webappl.tags
Class DetailLinkTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bypt.despodata.java.webappl.tags.DetailLinkTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class DetailLinkTag
extends javax.servlet.jsp.tagext.TagSupport

DetailLinkTag.java, Permite definir links para abrir paginas de detalhe. Created: Tue Jul 23 11:31:55 2001

Version:
$Revision: 1.1 $ Revision $Revision: 1.1 $ $Date: 2003/04/25 15:08:25 $ $Author: pcarmo $ $Log: DetailLinkTag.java,v $ Revision 1.1 2003/04/25 15:08:25 pcarmo + Este package nao tinha sido migrado. Revision 1.6 2002/03/15 11:10:34 pcarmo + Merging do ramo onde foi implementado o novo GenericController mais as classes 'Actions' que implementam as funcionalidades oferecidas antriormente pela classe GenericController. Revision 1.5.2.1 2002/03/14 19:05:14 pcarmo + Todas as accoes implementadas em classes separadas ja foram testadas. Revision 1.5 2002/01/29 17:52:42 pcarmo + Acrescentei um novo atributo a tag 'detailLink'. Revision 1.4 2001/09/27 17:44:53 pcarmo + Introducao de constantes para virtualizar as chaves usadas para guardar objectos na sessao. Revision 1.3 2001/07/26 16:56:15 pcarmo + Ja se esta a fazer o refresh dos detalhes (cascade). Revision 1.2 2001/07/26 15:45:40 pcarmo + So ja sao mostrados os riscos de um departamento. Revision 1.1 2001/07/25 14:20:18 pcarmo + Novas classes para implementar as tags usadas pela aplicacao.
Author:
Paulo Carmo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
DetailLinkTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Implemetacao da tag.
 void insertParameter(java.lang.String parameter)
          Adiciona um parametro ao link.
 void release()
          Tag handlers should always implement release() because handlers can be reused by the JSP container
 void setAction(java.lang.String action)
          Setter for property action.
 void setDetailUri(java.lang.String v)
          Set the value of detailUri.
 void setHref(java.lang.String v)
          Set the value of href.
 void setLink(java.lang.String v)
          Set the value of link.
 void setTarget(java.lang.String v)
          Set the value of target.
 void setUserParam(java.lang.String userParam)
          Setter for property userParam.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailLinkTag

public DetailLinkTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Implemetacao da tag.

Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

insertParameter

public void insertParameter(java.lang.String parameter)
Adiciona um parametro ao link.


release

public void release()
Tag handlers should always implement release() because handlers can be reused by the JSP container


setDetailUri

public void setDetailUri(java.lang.String v)
Set the value of detailUri.

Parameters:
v - Value to assign to detailUri.

setHref

public void setHref(java.lang.String v)
Set the value of href.

Parameters:
v - Value to assign to href.

setLink

public void setLink(java.lang.String v)
Set the value of link.

Parameters:
v - Value to assign to link.

setTarget

public void setTarget(java.lang.String v)
Set the value of target.

Parameters:
v - Value to assign to target.

setUserParam

public void setUserParam(java.lang.String userParam)
Setter for property userParam.

Parameters:
userParam - New value of property userParam.

setAction

public void setAction(java.lang.String action)
Setter for property action.

Parameters:
action - New value of property action.