Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.sitemap.tag
Class PublishableStatusTag  view PublishableStatusTag download PublishableStatusTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.RuntimeCollective.sitemap.tag.PublishableStatusTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

A custom JSP tag that creates displays the status of a Publishable.

This Tag now uses an optional web.xml parameters to know which "display style to use". For now the only supported styles are:
- "trunkandlive" for versioned publishables which have one trunk and one live versions
- nothing, "" for the default behavior

One parameter:

Version:
$Id: PublishableStatusTag.java,v 1.10 2003/09/30 15:13:01 joe Exp $

Field Summary
protected  java.lang.String name
          The bean name.
 
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
PublishableStatusTag()
           
 
Method Summary
 int doStartTag()
          Default processing of the start tag, returning SKIP_BODY.
 java.lang.String getName()
          Get the bean name.
 void release()
          Release state.
 void setName(java.lang.String name)
          Set the bean name.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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
 

Field Detail

name

protected java.lang.String name
The bean name.

Constructor Detail

PublishableStatusTag

public PublishableStatusTag()
                     throws java.sql.SQLException
Method Detail

getName

public java.lang.String getName()
Get the bean name.


setName

public void setName(java.lang.String name)
Set the bean name.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Default processing of the start tag, returning SKIP_BODY.


release

public void release()
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Release state.