|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.tag.GridUpdate
public final class GridUpdate
Used in a cfgrid, cfgridupdate allows you to perform updates to data sources directly from edited grid data. The cfgridupdate tag provides a direct interface with your data source. The cfgridupdate tag applies delete row actions first, then INSERT row actions, and then UPDATE row actions. If an error is encountered, row processing stops.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
GridUpdate()
constructor for the tag class |
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
|
void |
setConnectstring(String connectstring)
|
void |
setDatasource(String datasource)
set the value datasource The name of the data source for the update action. |
void |
setDbname(String dbname)
set the value dbname The database name (Sybase System 11 driver and SQLOLEDB provider only). |
void |
setDbserver(String dbserver)
set the value dbserver For native database drivers and the SQLOLEDB provider, specifies the name of the database server computer. |
void |
setDbtype(String dbtype)
set the value dbtype The database driver type |
void |
setGrid(String grid)
set the value grid The name of the cfgrid form element that is the source for the update action. |
void |
setKeyonly(boolean keyonly)
set the value keyonly Yes or No. |
void |
setPassword(String password)
set the value password If specified, password overrides the password value specified in the ODBC setup. |
void |
setProvider(String provider)
set the value provider COM provider (OLE-DB only). |
void |
setProviderdsn(String providerdsn)
set the value providerdsn Data source name for the COM provider (OLE-DB only). |
void |
setTablename(String tablename)
set the value tablename The name of the table to update. |
void |
setTableowner(String tableowner)
set the value tableowner For data sources that support table ownership (such as SQL Server, Oracle, and Sybase SQL Anywhere), use this field to specify the owner of the table. |
void |
setTablequalifier(String tablequalifier)
set the value tablequalifier For data sources that support table qualifiers, use this field to specify the qualifier for the table. |
void |
setUsername(String username)
set the value username If specified, username overrides the username value specified in the ODBC setup. |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridUpdate() throws TagNotSupported
TagNotSupported
Method Detail |
---|
public void setPassword(String password)
password
- value to setpublic void setDatasource(String datasource)
datasource
- value to setpublic void setProviderdsn(String providerdsn)
providerdsn
- value to setpublic void setKeyonly(boolean keyonly)
keyonly
- value to setpublic void setTablename(String tablename)
tablename
- value to setpublic void setConnectstring(String connectstring)
public void setDbtype(String dbtype)
dbtype
- value to setpublic void setGrid(String grid)
grid
- value to setpublic void setDbname(String dbname)
dbname
- value to setpublic void setUsername(String username)
username
- value to setpublic void setDbserver(String dbserver)
dbserver
- value to setpublic void setTableowner(String tableowner)
tableowner
- value to setpublic void setProvider(String provider)
provider
- value to setpublic void setTablequalifier(String tablequalifier)
tablequalifier
- value to setpublic int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
Tag.doStartTag()
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
Tag.doEndTag()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagImpl
Tag.release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |