| |
|
| com.salmonllc.jsp.tags.BaseBodyTag com.salmonllc.jsp.tags.ContainerTag com.salmonllc.jsp.tags.FormTag
FormTag | public class FormTag extends ContainerTag (Code) | | This is a tag used to create a form tag.
|
createComponent | public HtmlComponent createComponent()(Code) | | This method creates the JspForm used by the tag.
|
getTagConvertType | public int getTagConvertType()(Code) | | Returns the type of DreamWeaver conversion that this tag uses.
|
incrementMode | public boolean incrementMode()(Code) | | For Tags that require multiple passes to render their Html, this method should be implemented. It wll be called for each mode until it returns false. Also, this method is responsible for storing the results of the tags nested within it. Once the method returns false, the generateComponentHtml method will be called and here, the stored data from the nested tags should be sent to the output
stream.
|
initMode | public void initMode()(Code) | | Initializes the tag
|
release | public void release()(Code) | | Part of the tag library specification. Clears all resources used by the tag.
|
setAction | public void setAction(String action)(Code) | | Sets the action for this form (The URL invoked when the form is posted)
Parameters: action - |
setAutoscroll | public void setAutoscroll(String string)(Code) | | Sets whether the form should auto scroll
Parameters: string - |
setEnctype | public void setEnctype(String encType)(Code) | | Sets the mime type encoding of the data sent "application/x-www-form-urlencoded" (the default), is usually used if the METHOD attribute has the value POST. "multipart/form-data" is used when the form contains a file upload element (INPUT TYPE="FILE").
Parameters: encType - |
setMethod | public void setMethod(String method)(Code) | | Sets the method for this form (GET or POST)
Parameters: method - |
setOnreset | public void setOnreset(String onReset)(Code) | | Sets the javascript code that executes if the user resets the form
Parameters: onReset - |
setOnsubmit | public void setOnsubmit(String onSubmit)(Code) | | Sets the javascript code that executes if the user submits the form
Parameters: onSubmit - |
setTarget | public void setTarget(String target)(Code) | | Sets the window that will display the results of the submit
Parameters: target - |
|
|
|