com.arsdigita.bebop.jsp
Class DefineSubmit

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.arsdigita.bebop.jsp.DefineComponent
              extended bycom.arsdigita.bebop.jsp.DefineSubmit
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

public class DefineSubmit
extends DefineComponent

Defines a Submit widget at the current location in the JSP page. The "name" attribute is the name of the submit widget. The text displayed to the user is globalized. The "label" attribute is used as a key in the ResourceBundle in the currently-running application, and the "bundle" attribute may be used to specify a fully-qualified ResourceBundle name explicitly. The "label" attribute may instead be used to provide non-globalized label text.

Example, globalized:

 <define:submit name="mySubmit" label="msg.key"
       bundle="com.arsdigita.notes.NotesResources"/>
 
Example, not globalized:
 <define:submit name="mySubmit" label="Submit form now!"/>
 

See Also:
Submit, Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
DefineSubmit()
           
 
Method Summary
 int doStartTag()
           
protected  Component getComponent()
           
 void setBundle(String s)
           
 void setLabel(String s)
           
 
Methods inherited from class com.arsdigita.bebop.jsp.DefineComponent
getName, getParentTag, setName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DefineSubmit

public DefineSubmit()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class DefineComponent
Throws:
javax.servlet.jsp.JspException

getComponent

protected final Component getComponent()
Specified by:
getComponent in class DefineComponent

setLabel

public void setLabel(String s)

setBundle

public void setBundle(String s)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC