|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.taggercat.tags.AbstractExpEvalTag
com.taggercat.tags.AbstractHTMLInputTag
public abstract class AbstractHTMLInputTag
This tag is the abstract base class for HTML input elements. The element's enabled state is set according to the corresponding field access permissions set in the security data.
The hasUpdatePermission is set to false, and the disabled property is set true if:
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Field Summary |
|---|
| 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 | |
|---|---|
AbstractHTMLInputTag()
|
|
| Method Summary | |
|---|---|
HTMLTagBuilder |
addBaseAttributes(HTMLTagBuilder htmlTag)
Fills in the base attributes that are common to both buttons and anchor tags. |
HTMLTagBuilder |
addBaseEnabledAttributes(HTMLTagBuilder htmlTag)
Fills in the base attributes that are common to both buttons and anchor tags. |
int |
doEndTag()
Reset the state of the tag. |
int |
doStartTag()
Check the users permissions on the associated data field, and enable or disable the field. |
java.lang.String |
getAccesskey()
Gets the access key. |
static java.lang.String |
getAjaxValidationJSFunction()
|
java.lang.String |
getCondition()
Gets additional enabled condition. |
boolean |
getDisabled()
Gets the disabled state. |
java.lang.String |
getDsn()
Gets the data soruce name. |
java.lang.String |
getField()
Gets the field name attribute. |
java.lang.String |
getName()
Gets the buttons name. |
java.lang.String |
getOnblur()
Gets the onblur javascript event handler. |
java.lang.String |
getOnchange()
Gets the onchange attribute. |
java.lang.String |
getOnclick()
Gets the onclick javascript event handler. |
java.lang.String |
getOndblclick()
Gets the onfocus javascript event handler. |
java.lang.String |
getOnfocus()
Gets the onfocus javascript event handler. |
java.lang.String |
getOnkeydown()
Gets the onkeydown javascript event handler. |
java.lang.String |
getOnkeypress()
Gets the onkeypress javascript event handler. |
java.lang.String |
getOnkeyup()
Gets the onkeyup javascript event handler. |
java.lang.String |
getOnmousedown()
Gets the onmousedown javascript event handler. |
java.lang.String |
getOnmousemove()
Gets the onmousemove javascript event handler. |
java.lang.String |
getOnmouseout()
Gets the onmouseout javascript event handler. |
java.lang.String |
getOnmouseover()
Gets the onmouseover javascript event handler. |
java.lang.String |
getOnmouseup()
Gets the onmouseup javascript event handler. |
java.lang.String |
getOnselect()
Gets the onselect attribute. |
java.lang.String |
getRowID()
|
java.lang.String |
getStyle()
Gets the CSS Style. |
java.lang.String |
getStyleclass()
Gets the CSS style class. |
java.lang.String |
getStyleid()
Gets the CSS Style ID. |
java.lang.String |
getTabindex()
Gets the tab index. |
java.lang.String |
getTitle()
Gets the title attribute. |
java.lang.String |
getValue()
Gets the value attribute. |
boolean |
isQbf()
|
boolean |
isShowDisabled()
Controls if the element should be shown when the action is disabled, or not shown at all. |
static java.lang.Boolean |
isXHTMLtag()
|
void |
setAccesskey(java.lang.String accesskey)
Sets the accesskey attribute. |
static void |
setAjaxValidationJSFunction(java.lang.String ajaxValidationJSFunction)
|
void |
setCondition(java.lang.String condition)
Sets the condition attribute. |
void |
setDisabled(boolean disabled)
Sets the disabled attribute. |
void |
setDsn(java.lang.String dsn)
Set the name of the data source this field is a member of. |
void |
setDynamicAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.Object value)
|
void |
setField(java.lang.String field)
Sets the field name attribute. |
void |
setFormat(java.lang.String format)
Sets the format string. |
void |
setId(java.lang.String idAttr)
Sets the idAttr attribute. |
void |
setName(java.lang.String name)
Sets the name attribute. |
void |
setNulls(java.lang.String nulls)
Sets the null representation. |
void |
setOnblur(java.lang.String onblur)
Sets the onblur attribute. |
void |
setOnchange(java.lang.String onchange)
Sets the onchange attribute. |
void |
setOnclick(java.lang.String onclick)
Sets the onclick attribute. |
void |
setOndblclick(java.lang.String ondblclick)
Sets the ondblclick attribute. |
void |
setOnfocus(java.lang.String onfocus)
Sets the onfocus attribute. |
void |
setOnkeydown(java.lang.String onkeydown)
Sets the onkeydown attribute. |
void |
setOnkeypress(java.lang.String onkeypress)
Sets the onkeypress attribute. |
void |
setOnkeyup(java.lang.String onkeyup)
Sets the onkeyup attribute. |
void |
setOnmousedown(java.lang.String onmousedown)
Sets the onmousedown attribute. |
void |
setOnmousemove(java.lang.String onmousemove)
Sets the onmousemove attribute. |
void |
setOnmouseout(java.lang.String onmouseout)
Sets the onmouseout attribute. |
void |
setOnmouseover(java.lang.String onmouseover)
Sets the onmouseover attribute. |
void |
setOnmouseup(java.lang.String onmouseup)
Sets the onmouseup attribute. |
void |
setOnselect(java.lang.String onselect)
Sets the onselect attribute. |
void |
setPreserveHTML(boolean preserveHTML)
Sets the preserveHTML field, set true to retain the original HTML. |
void |
setQbf(boolean qbf)
|
void |
setReadonly(boolean readonly)
Sets the readonly tag attribute. |
void |
setRowID(java.lang.String rowID)
|
void |
setShowDisabled(boolean showDisabled)
Sets the show disabled attribute. |
void |
setStyle(java.lang.String style)
Sets the CSS style attribute. |
void |
setStyleclass(java.lang.String styleclass)
Sets the CSS style class attribute. |
void |
setStyleid(java.lang.String styleid)
Sets the CSS styleid attribute. |
void |
setTabindex(java.lang.String tabindex)
Sets the tabindex attribute. |
void |
setTitle(java.lang.String title)
Sets the title attribute. |
abstract void |
setValue(Model model,
DataSource ds,
TCEntity tcEntity)
Sets the value field and attribute. |
void |
setValue(java.lang.String value)
Sets the value attribute. |
| Methods inherited from class com.taggercat.tags.AbstractExpEvalTag |
|---|
getModel, resolveProperty, setScope, setVar |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractHTMLInputTag()
| Method Detail |
|---|
public HTMLTagBuilder addBaseAttributes(HTMLTagBuilder htmlTag)
htmlTag - the html tag to add the base attributes topublic HTMLTagBuilder addBaseEnabledAttributes(HTMLTagBuilder htmlTag)
htmlTag - the html tag to add the base enabled attributes to
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class AbstractExpEvalTagjavax.servlet.jsp.JspException
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class AbstractExpEvalTagjavax.servlet.jsp.JspException
public abstract void setValue(Model model,
DataSource ds,
TCEntity tcEntity)
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionmodel - the modelds - the data source the field applies totcEntity - the TCEntitypublic java.lang.String getAccesskey()
public java.lang.String getCondition()
public boolean getDisabled()
public java.lang.String getDsn()
public java.lang.String getName()
public java.lang.String getOnblur()
public java.lang.String getOnclick()
public java.lang.String getOndblclick()
public java.lang.String getOnfocus()
public java.lang.String getOnkeydown()
public java.lang.String getOnkeypress()
public java.lang.String getOnkeyup()
public java.lang.String getOnmousedown()
public java.lang.String getOnmousemove()
public java.lang.String getOnmouseout()
public java.lang.String getOnmouseover()
public java.lang.String getOnmouseup()
public void setField(java.lang.String field)
field - The new field valuepublic java.lang.String getField()
public void setFormat(java.lang.String format)
format - The new format valuepublic void setNulls(java.lang.String nulls)
nulls - the new null representationpublic void setPreserveHTML(boolean preserveHTML)
preserveHTML - the new preserveHTML statepublic java.lang.String getOnchange()
public java.lang.String getOnselect()
public java.lang.String getStyle()
public java.lang.String getStyleclass()
public java.lang.String getStyleid()
public java.lang.String getTabindex()
public java.lang.String getTitle()
public java.lang.String getValue()
public boolean isShowDisabled()
public void setAccesskey(java.lang.String accesskey)
accesskey - the new accesskey valuepublic void setCondition(java.lang.String condition)
condition - the new condition valuepublic void setOnchange(java.lang.String onchange)
onchange - the new onchange valuepublic void setOnselect(java.lang.String onselect)
onselect - the new onselect valuepublic void setDisabled(boolean disabled)
disabled - the new disabled valuepublic void setDsn(java.lang.String dsn)
dsn - the data source namepublic void setName(java.lang.String name)
name - the new name valuepublic void setOnblur(java.lang.String onblur)
onblur - the new onblur valuepublic void setOnclick(java.lang.String onclick)
onclick - the new onclick valuepublic void setOndblclick(java.lang.String ondblclick)
ondblclick - the new ondblclick valuepublic void setOnfocus(java.lang.String onfocus)
onfocus - the new onfocus valuepublic void setOnkeydown(java.lang.String onkeydown)
onkeydown - the new onkeydown valuepublic void setOnkeypress(java.lang.String onkeypress)
onkeypress - the new onkeypress valuepublic void setOnkeyup(java.lang.String onkeyup)
onkeyup - the new onkeyup valuepublic void setOnmousedown(java.lang.String onmousedown)
onmousedown - the new onmousedown valuepublic void setOnmousemove(java.lang.String onmousemove)
onmousemove - the new onmousemove valuepublic void setOnmouseout(java.lang.String onmouseout)
onmouseout - the new onmouseout valuepublic void setOnmouseover(java.lang.String onmouseover)
onmouseover - the new onmouseover valuepublic void setOnmouseup(java.lang.String onmouseup)
onmouseup - the new onmouseup valuepublic void setReadonly(boolean readonly)
readonly - the new readonly valuepublic void setShowDisabled(boolean showDisabled)
showDisabled - the new disabled valuepublic void setStyle(java.lang.String style)
style - the new style valuepublic void setStyleclass(java.lang.String styleclass)
styleclass - the new styleclass valuepublic void setStyleid(java.lang.String styleid)
styleid - the new styleid valuepublic void setTabindex(java.lang.String tabindex)
tabindex - the new tabindex valuepublic void setTitle(java.lang.String title)
title - the new title valuepublic void setId(java.lang.String idAttr)
setId in class javax.servlet.jsp.tagext.TagSupportidAttr - the new idAttr valuepublic void setValue(java.lang.String value)
setValue in class AbstractExpEvalTagvalue - the new valuepublic static java.lang.Boolean isXHTMLtag()
public boolean isQbf()
public void setQbf(boolean qbf)
public static java.lang.String getAjaxValidationJSFunction()
public static void setAjaxValidationJSFunction(java.lang.String ajaxValidationJSFunction)
public java.lang.String getRowID()
public void setRowID(java.lang.String rowID)
rowID - the rowID to set
public void setDynamicAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.Object value)
throws javax.servlet.jsp.JspException
setDynamicAttribute in interface javax.servlet.jsp.tagext.DynamicAttributesjavax.servlet.jsp.JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||