|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.dbforms.taglib.AbstractScriptHandlerTag org.dbforms.taglib.DbFormTag
public class DbFormTag
This is the root element of a data manipulation form
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
---|---|
DbFormTag()
|
Method Summary | |
---|---|
void |
addChildName(String tableFieldName,
String dbFormGeneratedName)
Adds a feature to the ChildName attribute of the DbFormTag object |
void |
addJavascriptFunction(String jsFctName,
StringBuffer jsFct)
Adds a feature to the JavascriptFunction attribute of the DbFormTag object |
void |
addValidationForm(String formName,
Hashtable childFields)
DOCUMENT ME! |
void |
appendToChildElementOutput(String str)
Append the input string to the childElementOutput stringBuffer. |
int |
doAfterBody()
DOCUMENT ME! |
int |
doEndTag()
D O E N D T A G |
void |
doFinally()
DOCUMENT ME! |
int |
doStartTag()
Philip Grunikiewicz 2001-08-17 Added an attribute to allow developer to bypass navigation: If we are not going to use navigation, eliminate the creation of, and execution of "fancy!" |
boolean |
existJavascriptFunction(String jsFctName)
Check if the input name of the JavaScript function exists. |
String |
getAction()
Get the action attribute value. |
String |
getAutocomplete()
DOCUMENT ME! |
String |
getAutoUpdate()
Gets the autoUpdate attribute of the DbFormTag object |
String |
getChildField()
Gets the childField attribute of the DbFormTag object |
int |
getCount()
Gets the count attribute of the DbFormTag object |
int |
getCurrentCount()
Gets the currentCount attribute of the DbFormTag object |
String |
getDbConnectionName()
Gets the dbConnectionName attribute of the DbFormTag object |
String |
getFilter()
Gets the filter attribute of the DbFormTag object |
String |
getFollowUp()
Gets the followUp attribute of the DbFormTag object |
String |
getFollowUpOnError()
Gets the followUpOnError |
String |
getFormValidatorName()
Gets the formValidatorName attribute of the DbFormTag object |
Hashtable |
getGotoHt()
Gets the gotoHt attribute of the DbFormTag object |
String |
getGotoPrefix()
Gets the gotoPrefix attribute of the DbFormTag object |
String |
getJavascriptValidationSrcFile()
Gets the javascriptValidationSrcFile attribute of the DbFormTag object |
Locale |
getLocale()
Returns the locale the form is created with. |
String |
getLocalWebEvent()
Gets the localWebEvent attribute of the DbFormTag object |
String |
getMaxRows()
Gets the maxRows attribute of the DbFormTag object |
String |
getName()
DOCUMENT ME! |
String |
getOnSubmit()
Get the onSubmit attribute. |
String |
getOrderBy()
Gets the orderBy attribute of the DbFormTag object |
FieldValues |
getOrderFields()
DOCUMENT ME! |
String |
getOverrideFieldCheck()
DOCUMENT ME! |
String |
getParentField()
Gets the parentField attribute of the DbFormTag object |
DbFormTag |
getParentForm()
Gets the parentForm DbFormTag object |
String |
getPositionPath()
Gets the positionPath attribute of the DbFormTag object |
String |
getPositionPathCore()
Gets the positionPathCore attribute of the DbFormTag object. |
ResultSetVector |
getResultSetVector()
Gets the resultSetVector attribute of the DbFormTag object |
String |
getSearchFilterRequired()
|
String |
getSqlFilter()
DOCUMENT ME! |
Table |
getTable()
Gets the table attribute of the DbFormTag object |
String |
getTableList()
Get the table list attribute. |
String |
getTableName()
Gets the tableName attribute of the DbFormTag object |
String |
getTarget()
Gets the target attribute of the DbFormTag object |
AbstractWebEvent |
getWebEvent()
DOCUMENT ME! |
String |
getWhereClause()
Gets the whereClause attribute of the DbFormTag object |
boolean |
hasCaptionResourceSet()
Gets the captionResource attribute of the DbFormTag object |
boolean |
hasJavascriptFieldsArraySet()
Gets the javascriptFieldsArray attribute of the DbFormTag object |
boolean |
hasJavascriptValidationSet()
Gets the javascriptValidation attribute of the DbFormTag object |
boolean |
hasMultipartSet()
Description of the Method |
boolean |
hasReadOnlySet()
Gets the readOnly attribute of the DbFormTag object |
boolean |
hasRedisplayFieldsOnErrorSet()
Get the redisplayFieldsOnError attribute. |
boolean |
isFooterReached()
Gets the footerReached attribute of the DbFormTag object |
boolean |
isSubForm()
Gets the subForm attribute of the DbFormTag object |
String |
produceLinkedTags()
DOCUMENT ME! |
void |
setAction(String newAction)
Set the action attribute value. |
void |
setAutocomplete(String string)
DOCUMENT ME! |
void |
setAutoUpdate(String autoUpdate)
Sets the autoUpdate attribute of the DbFormTag object |
void |
setCaptionResource(String res)
Sets the captionResource attribute of the DbFormTag object |
void |
setChildField(String childField)
Sets the childField attribute of the DbFormTag object |
void |
setDbConnectionName(String dbConnectionName)
Sets the dbConnectionName attribute of the DbFormTag object |
void |
setFilter(String filter)
Sets the filter attribute of the DbFormTag object |
void |
setFollowUp(String followUp)
Sets the followUp attribute of the DbFormTag object |
void |
setFollowUpOnError(String followUpOnError)
Sets the followUpOnError attribute |
void |
setFooterReached(boolean footerReached)
Sets the footerReached attribute of the DbFormTag object |
void |
setFormValidatorName(String fv)
Sets the formValidatorName attribute of the DbFormTag object |
void |
setGotoHt(Hashtable gotoHt)
Sets the gotoHt attribute of the DbFormTag object |
void |
setGotoPrefix(String gotoPrefix)
Sets the gotoPrefix attribute of the DbFormTag object |
void |
setJavascriptFieldsArray(String jfa)
Sets the javascriptFieldsArray attribute of the DbFormTag object |
void |
setJavascriptValidation(String jsv)
Sets the javascriptValidation attribute of the DbFormTag object |
void |
setJavascriptValidationSrcFile(String jsvs)
Sets the javascriptFieldsArray attribute of the DbFormTag object |
void |
setLocalWebEvent(String localWebEvent)
Sets the localWebEvent attribute of the DbFormTag object |
void |
setMaxRows(String maxRows)
Sets the maxRows attribute of the DbFormTag object |
void |
setMultipart(String value)
Sets the multipart attribute of the DbFormTag object |
void |
setName(String string)
DOCUMENT ME! |
void |
setOnSubmit(String newonSubmit)
Set the onSubmit attribute value |
void |
setOrderBy(String orderBy)
Sets the orderBy attribute of the DbFormTag object |
void |
setOverrideFieldCheck(String string)
DOCUMENT ME! |
void |
setParent(javax.servlet.jsp.tagext.Tag p)
Set the parent tag |
void |
setParentField(String parentField)
Sets the parentField attribute of the DbFormTag object |
void |
setReadOnly(String readOnly)
Sets the readOnly attribute of the DbFormTag object |
void |
setRedisplayFieldsOnError(String newRedisplayFieldsOnError)
Set the redisplayFieldsOnError attribute |
void |
setSearchFilterRequired(String searchFilterRequired)
|
void |
setSqlFilter(String string)
DOCUMENT ME! |
void |
setTableList(String tableList)
Set the table list attribute value |
void |
setTableName(String tableName)
Sets the tableName attribute of the DbFormTag object |
void |
setTarget(String target)
Sets the target attribute of the DbFormTag object |
void |
setWhereClause(String wc)
Sets the whereClause attribute of the DbFormTag object |
void |
strikeOut(Field f)
This method gets called by input-tags like "DbTextFieldTag" and others. |
void |
updatePositionPath()
Update the position path. |
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag |
---|
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getTabIndex, getTitle, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.TryCatchFinally |
---|
doCatch |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext |
Constructor Detail |
---|
public DbFormTag()
Method Detail |
---|
public void setAction(String newAction)
newAction
- the new attribute valuepublic String getAction()
public void setAutoUpdate(String autoUpdate)
autoUpdate
- The new autoUpdate valuepublic String getAutoUpdate()
public void setAutocomplete(String string)
string
- public String getAutocomplete()
public void setCaptionResource(String res)
res
- The new captionResource valuepublic void setChildField(String childField)
childField
- The new childField valuepublic String getChildField()
public int getCount()
public int getCurrentCount()
public void setDbConnectionName(String dbConnectionName)
dbConnectionName
- The new dbConnectionName valuepublic String getDbConnectionName()
public void setFilter(String filter)
filter
- The new filter valuepublic String getFilter()
public void setFollowUp(String followUp)
followUp
- The new followUp valuepublic String getFollowUp()
public void setFollowUpOnError(String followUpOnError)
followUpOnError
- The followUpOnError to setpublic String getFollowUpOnError()
public void setFooterReached(boolean footerReached)
footerReached
- The new footerReached valuepublic boolean isFooterReached()
public void setFormValidatorName(String fv)
fv
- The new formValidatorName valuepublic String getFormValidatorName()
public void setGotoHt(Hashtable gotoHt)
gotoHt
- The new gotoHt valuepublic Hashtable getGotoHt()
public void setGotoPrefix(String gotoPrefix)
gotoPrefix
- The new gotoPrefix valuepublic String getGotoPrefix()
public void setJavascriptFieldsArray(String jfa)
jfa
- The new javascriptFieldsArray valuepublic void setJavascriptValidation(String jsv)
jsv
- The new javascriptValidation valuepublic void setJavascriptValidationSrcFile(String jsvs)
jsvs
- The javascriptFieldsArray valuepublic String getJavascriptValidationSrcFile()
public void setLocalWebEvent(String localWebEvent)
localWebEvent
- The new localWebEvent valuepublic String getLocalWebEvent()
public Locale getLocale()
public void setMaxRows(String maxRows)
maxRows
- The new maxRows valuepublic String getMaxRows()
public void setMultipart(String value)
value
- The new multipart valuepublic void setName(String string)
string
- public String getName()
public void setOnSubmit(String newonSubmit)
newonSubmit
- the new onSubmit valuepublic String getOnSubmit()
public void setOrderBy(String orderBy)
orderBy
- The new orderBy valuepublic String getOrderBy()
public FieldValues getOrderFields()
public void setOverrideFieldCheck(String string)
string
- public String getOverrideFieldCheck()
public void setParent(javax.servlet.jsp.tagext.Tag p)
setParent
in interface javax.servlet.jsp.tagext.Tag
setParent
in class javax.servlet.jsp.tagext.TagSupport
p
- the parent tagpublic void setParentField(String parentField)
parentField
- The new parentField valuepublic String getParentField()
public String getPositionPath()
public String getPositionPathCore()
public void setReadOnly(String readOnly)
readOnly
- The new readOnly valuepublic void setRedisplayFieldsOnError(String newRedisplayFieldsOnError)
newRedisplayFieldsOnError
- the new redisplayFieldsOnError valuepublic ResultSetVector getResultSetVector()
public void setSqlFilter(String string)
setSqlFilter
in interface ISqlFilter
string
- public String getSqlFilter()
getSqlFilter
in interface ISqlFilter
public boolean isSubForm()
public DbFormTag getParentForm()
public Table getTable()
public void setTableList(String tableList)
tableList
- the new tableList valuepublic String getTableList()
public void setTableName(String tableName) throws Exception
tableName
- The new tableName value
Exception
- DOCUMENT ME!public String getTableName()
public void setTarget(String target)
target
- The new target valuepublic String getTarget()
public AbstractWebEvent getWebEvent()
public void setWhereClause(String wc)
wc
- The new whereClause valuepublic String getWhereClause()
public void addChildName(String tableFieldName, String dbFormGeneratedName)
tableFieldName
- The feature to be added to the ChildName attributedbFormGeneratedName
- The feature to be added to the ChildName attributepublic void addJavascriptFunction(String jsFctName, StringBuffer jsFct)
jsFctName
- The feature to be added to the JavascriptFunction attributejsFct
- The feature to be added to the JavascriptFunction attributepublic void addValidationForm(String formName, Hashtable childFields)
formName
- DOCUMENT ME!childFields
- DOCUMENT ME!public void appendToChildElementOutput(String str)
str
- the string to appendpublic int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- DOCUMENT ME!public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- Description of the Exceptionpublic void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class AbstractScriptHandlerTag
TryCatchFinally.doFinally()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public boolean existJavascriptFunction(String jsFctName)
jsFctName
- the name of the JS function
public boolean hasCaptionResourceSet()
public boolean hasJavascriptFieldsArraySet()
public boolean hasJavascriptValidationSet()
public boolean hasMultipartSet()
public boolean hasReadOnlySet()
public boolean hasRedisplayFieldsOnErrorSet()
public String produceLinkedTags()
public void strikeOut(Field f)
f
- the Field objectpublic void updatePositionPath()
public String getSearchFilterRequired()
public void setSearchFilterRequired(String searchFilterRequired)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |