java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.RuntimeCollective.webapps.tag.HtmlInputTag
com.RuntimeCollective.webapps.tag.HtmlInputPostTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class HtmlInputPostTag
- extends HtmlInputTag
A custom JSP tag that displays a Java applet for WSIWYG editing of HTML - specifically, the gateway of a resource.
IMPORTANT: This tag must be used inside a form, and the form creation tag must contain onsubmit="return getHTMLEditorAppletValue()",
for example:
<html:form action="/testHtmlAction" onsubmit="return getHTMLEditorAppletValue()">
Only one HtmlInputTag can be used per HTML page.
This tag takes the following additional attributes:
saveAction [optional]
entityBean - on the session
- Version:
- $Id: HtmlInputPostTag.java,v 1.4 2003/09/30 15:13:18 joe Exp $
|
Field Summary |
protected java.lang.String |
entityBean
The class name of the EntityBean that we're going to update, on the session. |
protected java.lang.String |
saveAction
Which action, defined in struts-config.xml, to call on save - defaults to "/htmlInputPost.do" |
| Methods inherited from class com.RuntimeCollective.webapps.tag.HtmlInputTag |
doStartTag, getColumns, getHeight, getName, getParsedExtraParameters, getProperty, getRows, getScript, getWidth, setColumns, setHeight, setName, setProperty, setRows, setWidth |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
saveAction
protected java.lang.String saveAction
- Which action, defined in struts-config.xml, to call on save - defaults to "/htmlInputPost.do"
entityBean
protected java.lang.String entityBean
- The class name of the EntityBean that we're going to update, on the session.
HtmlInputPostTag
public HtmlInputPostTag()
getSaveAction
public java.lang.String getSaveAction()
- Get which action, defined in struts-config.xml, to call on save
setSaveAction
public void setSaveAction(java.lang.String saveAction)
- Set which action, defined in struts-config.xml, to call on save
getEntityBean
public java.lang.String getEntityBean()
- Get the class name of the EntityBean that we're going to update
setEntityBean
public void setEntityBean(java.lang.String entityBean)
- Set the class name of the EntityBean that we're going to update
getAppletClass
public java.lang.String getAppletClass()
- Get the name of the Applet class to use
- Specified by:
getAppletClass in class HtmlInputTag
getExtraParameters
public java.lang.String[][] getExtraParameters()
- Overrides:
getExtraParameters in class HtmlInputTag