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

Quick Search    Search Deep

com.obinary.cms.taglibs
Class Edit  view Edit download Edit.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.obinary.cms.taglibs.Edit
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Date: Apr 28, 2003 Time: 11:20:59 AM

Version:
1.0

Field Summary
private  java.lang.String containerListName
           
private  java.lang.String containerName
           
private  java.lang.String contentType
           
private static java.lang.String DEFAULT_DELETE_LABEL
           
private static java.lang.String DEFAULT_EDIT_LABEL
           
private  java.lang.String deleteLabel
           
private  java.lang.String displayHandler
           
private static java.lang.String EDIT_DIALOG_HANDLE
           
private  java.lang.String editLabel
           
private  javax.servlet.http.HttpServletRequest request
           
 
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
Edit()
           
 
Method Summary
private  void display()
          displays edit bar
 int doEndTag()
          print out
 int doStartTag()
          starts Edit tag
private  java.lang.String getContainerListName()
           
private  java.lang.String getContainerName()
           
private  java.lang.String getDeleteLabel()
           
private  java.lang.String getEditHandle()
          construct and return edit handle
private  java.lang.String getEditLabel()
           
private  java.lang.String getParFile()
           
private  java.lang.String getPath()
          get the content path (Page or Node)
private  java.lang.String getTemplate()
           
 void setContainerListName(java.lang.String name)
          set working container list
 void setContainerName(java.lang.String name)
          set working container
 void setDeleteLabel(java.lang.String label)
          set the delete label (else "Delete")
 void setEditLabel(java.lang.String label)
          set the edit label (else "Edit")
 void setParFile(java.lang.String type)
          set current content type, could be any developer defined name
 void setTemplate(java.lang.String path)
          set display handler (JSP / Servlet), needs to know the relative path from WEB-INF
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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

EDIT_DIALOG_HANDLE

private static final java.lang.String EDIT_DIALOG_HANDLE
See Also:
Constant Field Values

DEFAULT_EDIT_LABEL

private static final java.lang.String DEFAULT_EDIT_LABEL
See Also:
Constant Field Values

DEFAULT_DELETE_LABEL

private static final java.lang.String DEFAULT_DELETE_LABEL
See Also:
Constant Field Values

containerName

private java.lang.String containerName

containerListName

private java.lang.String containerListName

contentType

private java.lang.String contentType

editLabel

private java.lang.String editLabel

deleteLabel

private java.lang.String deleteLabel

displayHandler

private java.lang.String displayHandler

request

private javax.servlet.http.HttpServletRequest request
Constructor Detail

Edit

public Edit()
Method Detail

doStartTag

public int doStartTag()

starts Edit tag


doEndTag

public int doEndTag()

print out


setContainerName

public void setContainerName(java.lang.String name)

set working container


getContainerName

private java.lang.String getContainerName()

setContainerListName

public void setContainerListName(java.lang.String name)

set working container list


setParFile

public void setParFile(java.lang.String type)

set current content type, could be any developer defined name


getParFile

private java.lang.String getParFile()

setTemplate

public void setTemplate(java.lang.String path)

set display handler (JSP / Servlet), needs to know the relative path from WEB-INF


getTemplate

private java.lang.String getTemplate()

getPath

private java.lang.String getPath()

get the content path (Page or Node)


setEditLabel

public void setEditLabel(java.lang.String label)

set the edit label (else "Edit")


getEditLabel

private java.lang.String getEditLabel()

setDeleteLabel

public void setDeleteLabel(java.lang.String label)

set the delete label (else "Delete")


getDeleteLabel

private java.lang.String getDeleteLabel()

getContainerListName

private java.lang.String getContainerListName()

getEditHandle

private java.lang.String getEditHandle()

construct and return edit handle


display

private void display()
              throws java.io.IOException

displays edit bar