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

Quick Search    Search Deep

com.aendvari.tethys.tag.html
Class CopyFormTag  view CopyFormTag download CopyFormTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.aendvari.tethys.tag.html.CopyFormTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Implementation class for the "copyForm" tag.

The following changes need to be made to the form that this tag is being used within:

function satyrCopyForm(targetFormObj, sourceFormName)


Field Summary
protected  java.lang.String sourceForm
          The name of the source form to copy from.
 
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
CopyFormTag()
           
 
Method Summary
private  java.lang.String createCopyFormJavaScript()
           
 int doEndTag()
          Default processing of the end tag returning EVAL_PAGE.
 java.lang.String getSourceForm()
           
 void setSourceForm(java.lang.String name)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, 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

sourceForm

protected java.lang.String sourceForm
The name of the source form to copy from.

Constructor Detail

CopyFormTag

public CopyFormTag()
Method Detail

getSourceForm

public java.lang.String getSourceForm()

setSourceForm

public void setSourceForm(java.lang.String name)

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Default processing of the end tag returning EVAL_PAGE.


createCopyFormJavaScript

private java.lang.String createCopyFormJavaScript()