Expresso 5-6

com.jcorporate.expresso.ext.taglib
Class InputTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.jcorporate.expresso.ext.taglib.ExpressoTagSupport
          extended bycom.jcorporate.expresso.ext.taglib.InputTag
All Implemented Interfaces:
IterationTag, Serializable, Tag

public class InputTag
extends ExpressoTagSupport

The InputTag renders an Expresso Input item in HTML, either as an inputbox, or as a select box.

Author:
Adam Rossi
See Also:
Serialized Form

Field Summary
static int DEFAULT_COLUMNS
          Default columns setting
static int DEFAULT_ROWS
          Default rows setting
static String STYLE_SHEET_MEDIUM_BOLD
           
static String STYLE_SHEET_MEDIUM_TEXT
           
static String TYPE_CHECKBOX
           
static String TYPE_CHECKBOX_VERT
           
static String TYPE_DROPDOWN
           
static String TYPE_FILE
           
static String TYPE_HIDDEN
           
static String TYPE_LISTBOX
           
static String TYPE_PASSWORD
           
static String TYPE_RADIO
           
static String TYPE_RADIO_VERT
           
static String TYPE_READONLY
           
static String TYPE_TEXT
           
static String TYPE_TEXTAREA
           
 
Fields inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
ctlrResp, response
 
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
InputTag()
           
 
Method Summary
 int doEndTag()
          Standard doEndTag.
 int doStartTag()
          Do nothing until end tag.
protected  FastStringBuffer generateEventHandler(FastStringBuffer buf)
          Generates HTML attributes for the JavaScript event handler
protected  FastStringBuffer generateStyleClass(FastStringBuffer buf)
          Generates HTML attributes for style, class, and style id
 int getCols()
          Gets the cols
 Input getInput()
           
 String getMaxlength()
          Getter method for maxlength.
 String getMultiple()
          Gets the multiple value to use
 String getName()
          Getter method for Name.
 String getOnclick()
          Gets the onclick
 String getOndblclick()
          Gets the ondblclick
 String getOnhelp()
          Gets the onhelp
 String getOnkeydown()
          Gets the onkeydown
 String getOnkeypress()
          Gets the onkeypress
 String getOnkeyup()
          Gets the onkeyup
 String getOnmousedown()
          Gets the onmousedown
 String getOnmousemove()
          Gets the onmousemove
 String getOnmouseout()
          Gets the onmouseout
 String getOnmouseover()
          Gets the onmouseover
 String getOnmouseup()
          Gets the onmouseup
 int getRows()
          Gets the rows
 String getShowlabel()
          Getter Method for showlabel.
 String getSize()
          Getter method for size.
 String getStyle()
          Gets the style
 String getStyleClass()
          Gets the styleClass
 String getStyleId()
          Gets the styleId
 String getType()
          Getter method for Type.
 String getValue()
          Getter Method for Value.
 void setCols(int cols)
          Sets the cols
 void setMaxlength(String newMaxlength)
          Setter method for maxlength
 void setMultiple(String newMultiple)
          Sets the multiple value to use.
 void setName(String newName)
          Insert the method's description here.
 void setOnclick(String onclick)
          Sets the onclick
 void setOndblclick(String ondblclick)
          Sets the ondblclick
 void setOnhelp(String onhelp)
          Sets the onhelp
 void setOnkeydown(String onkeydown)
          Sets the onkeydown
 void setOnkeypress(String onkeypress)
          Sets the onkeypress
 void setOnkeyup(String onkeyup)
          Sets the onkeyup
 void setOnmousedown(String onmousedown)
          Sets the onmousedown
 void setOnmousemove(String onmousemove)
          Sets the onmousemove
 void setOnmouseout(String onmouseout)
          Sets the onmouseout
 void setOnmouseover(String onmouseover)
          Sets the onmouseover
 void setOnmouseup(String onmouseup)
          Sets the onmouseup
 void setRows(int rows)
          Sets the rows
 void setShowlabel(String newShowlabel)
          Setter method for showlabel
 void setSize(String newSize)
          Setter method for size
 void setStyle(String style)
          Sets the style
 void setStyleClass(String styleClass)
          Sets the styleClass
 void setStyleId(String styleId)
          Sets the styleId
 void setType(String newType)
          Setter method for type
 void setValue(String newValue)
          Setter method for value
 
Methods inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
getAncestor, getContainer, getControllerResponse, getResponse, setResponse
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

TYPE_CHECKBOX

public static final String TYPE_CHECKBOX
See Also:
Constant Field Values

TYPE_CHECKBOX_VERT

public static final String TYPE_CHECKBOX_VERT
See Also:
Constant Field Values

TYPE_HIDDEN

public static final String TYPE_HIDDEN
See Also:
Constant Field Values

TYPE_READONLY

public static final String TYPE_READONLY
See Also:
Constant Field Values

TYPE_RADIO

public static final String TYPE_RADIO
See Also:
Constant Field Values

TYPE_RADIO_VERT

public static final String TYPE_RADIO_VERT
See Also:
Constant Field Values

TYPE_DROPDOWN

public static final String TYPE_DROPDOWN
See Also:
Constant Field Values

TYPE_LISTBOX

public static final String TYPE_LISTBOX
See Also:
Constant Field Values

TYPE_TEXTAREA

public static final String TYPE_TEXTAREA
See Also:
Constant Field Values

TYPE_FILE

public static final String TYPE_FILE
See Also:
Constant Field Values

TYPE_PASSWORD

public static final String TYPE_PASSWORD
See Also:
Constant Field Values

TYPE_TEXT

public static final String TYPE_TEXT
See Also:
Constant Field Values

STYLE_SHEET_MEDIUM_BOLD

public static final String STYLE_SHEET_MEDIUM_BOLD
See Also:
Constant Field Values

STYLE_SHEET_MEDIUM_TEXT

public static final String STYLE_SHEET_MEDIUM_TEXT
See Also:
Constant Field Values

DEFAULT_ROWS

public static final int DEFAULT_ROWS
Default rows setting

See Also:
Constant Field Values

DEFAULT_COLUMNS

public static final int DEFAULT_COLUMNS
Default columns setting

See Also:
Constant Field Values
Constructor Detail

InputTag

public InputTag()
Method Detail

generateStyleClass

protected FastStringBuffer generateStyleClass(FastStringBuffer buf)
Generates HTML attributes for style, class, and style id

Parameters:
buf -
Returns:

generateEventHandler

protected FastStringBuffer generateEventHandler(FastStringBuffer buf)
Generates HTML attributes for the JavaScript event handler

Parameters:
buf -
Returns:

doEndTag

public int doEndTag()
             throws JspTagException
Standard doEndTag.

Returns:
int
Throws:
JspTagException

doStartTag

public int doStartTag()
               throws JspTagException
Do nothing until end tag.

Returns:
int
Throws:
JspTagException - The exception description.

getMaxlength

public String getMaxlength()
Getter method for maxlength.

Returns:
java.lang.String

getMultiple

public String getMultiple()
Gets the multiple value to use

Returns:
java.lang.String

getName

public String getName()
Getter method for Name.

Returns:
java.lang.String

getShowlabel

public String getShowlabel()
Getter Method for showlabel.

Returns:
java.lang.String

getSize

public String getSize()
Getter method for size.

Returns:
java.lang.String

getType

public String getType()
Getter method for Type.

Returns:
java.lang.String

getValue

public String getValue()
Getter Method for Value. Creation date: (12/29/2000 %r)

Returns:
java.lang.String

setMaxlength

public void setMaxlength(String newMaxlength)
Setter method for maxlength

Parameters:
newMaxlength - java.lang.String

setMultiple

public void setMultiple(String newMultiple)
Sets the multiple value to use.

Parameters:
newMultiple - ??

setName

public void setName(String newName)
Insert the method's description here. Creation date: (12/29/2000 %r)

Parameters:
newName - java.lang.String

getInput

public Input getInput()

setShowlabel

public void setShowlabel(String newShowlabel)
Setter method for showlabel

Parameters:
newShowlabel - java.lang.String

setSize

public void setSize(String newSize)
Setter method for size

Parameters:
newSize - java.lang.String

setType

public void setType(String newType)
Setter method for type

Parameters:
newType - java.lang.String

setValue

public void setValue(String newValue)
Setter method for value

Parameters:
newValue - java.lang.String

getCols

public int getCols()
Gets the cols

Returns:
Returns the cols.

setCols

public void setCols(int cols)
Sets the cols

Parameters:
cols - The cols to set.

getRows

public int getRows()
Gets the rows

Returns:
Returns the rows.

setRows

public void setRows(int rows)
Sets the rows

Parameters:
rows - The rows to set.

getStyle

public String getStyle()
Gets the style

Returns:
Returns the style.

setStyle

public void setStyle(String style)
Sets the style

Parameters:
style - The style to set.

getStyleClass

public String getStyleClass()
Gets the styleClass

Returns:
Returns the styleClass.

setStyleClass

public void setStyleClass(String styleClass)
Sets the styleClass

Parameters:
styleClass - The styleClass to set.

getStyleId

public String getStyleId()
Gets the styleId

Returns:
Returns the styleId.

setStyleId

public void setStyleId(String styleId)
Sets the styleId

Parameters:
styleId - The styleId to set.

getOnclick

public String getOnclick()
Gets the onclick

Returns:
Returns the onclick.

setOnclick

public void setOnclick(String onclick)
Sets the onclick

Parameters:
onclick - The onclick to set.

getOndblclick

public String getOndblclick()
Gets the ondblclick

Returns:
Returns the ondblclick.

setOndblclick

public void setOndblclick(String ondblclick)
Sets the ondblclick

Parameters:
ondblclick - The ondblclick to set.

getOnhelp

public String getOnhelp()
Gets the onhelp

Returns:
Returns the onhelp.

setOnhelp

public void setOnhelp(String onhelp)
Sets the onhelp

Parameters:
onhelp - The onhelp to set.

getOnkeydown

public String getOnkeydown()
Gets the onkeydown

Returns:
Returns the onkeydown.

setOnkeydown

public void setOnkeydown(String onkeydown)
Sets the onkeydown

Parameters:
onkeydown - The onkeydown to set.

getOnkeypress

public String getOnkeypress()
Gets the onkeypress

Returns:
Returns the onkeypress.

setOnkeypress

public void setOnkeypress(String onkeypress)
Sets the onkeypress

Parameters:
onkeypress - The onkeypress to set.

getOnkeyup

public String getOnkeyup()
Gets the onkeyup

Returns:
Returns the onkeyup.

setOnkeyup

public void setOnkeyup(String onkeyup)
Sets the onkeyup

Parameters:
onkeyup - The onkeyup to set.

getOnmousedown

public String getOnmousedown()
Gets the onmousedown

Returns:
Returns the onmousedown.

setOnmousedown

public void setOnmousedown(String onmousedown)
Sets the onmousedown

Parameters:
onmousedown - The onmousedown to set.

getOnmousemove

public String getOnmousemove()
Gets the onmousemove

Returns:
Returns the onmousemove.

setOnmousemove

public void setOnmousemove(String onmousemove)
Sets the onmousemove

Parameters:
onmousemove - The onmousemove to set.

getOnmouseout

public String getOnmouseout()
Gets the onmouseout

Returns:
Returns the onmouseout.

setOnmouseout

public void setOnmouseout(String onmouseout)
Sets the onmouseout

Parameters:
onmouseout - The onmouseout to set.

getOnmouseover

public String getOnmouseover()
Gets the onmouseover

Returns:
Returns the onmouseover.

setOnmouseover

public void setOnmouseover(String onmouseover)
Sets the onmouseover

Parameters:
onmouseover - The onmouseover to set.

getOnmouseup

public String getOnmouseup()
Gets the onmouseup

Returns:
Returns the onmouseup.

setOnmouseup

public void setOnmouseup(String onmouseup)
Sets the onmouseup

Parameters:
onmouseup - The onmouseup to set.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.