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

Quick Search    Search Deep

com.RuntimeCollective.webapps.tag
Class HtmlInputPostTag  view HtmlInputPostTag download HtmlInputPostTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.RuntimeCollective.webapps.tag.HtmlInputTag
          extended bycom.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:

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"
 
Fields inherited from class com.RuntimeCollective.webapps.tag.HtmlInputTag
columns, height, name, property, rows, width
 
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
HtmlInputPostTag()
           
 
Method Summary
 java.lang.String getAppletClass()
          Get the name of the Applet class to use
 java.lang.String getEntityBean()
          Get the class name of the EntityBean that we're going to update
 java.lang.String[][] getExtraParameters()
           
 java.lang.String getSaveAction()
          Get which action, defined in struts-config.xml, to call on save
 void setEntityBean(java.lang.String entityBean)
          Set the class name of the EntityBean that we're going to update
 void setSaveAction(java.lang.String saveAction)
          Set which action, defined in struts-config.xml, to call on save
 
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
 

Field Detail

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.

Constructor Detail

HtmlInputPostTag

public HtmlInputPostTag()
Method Detail

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