Constructor and Description |
---|
Insert() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
static Object |
getDatasource(PageContext pageContext,
String datasource) |
static Struct |
getMeta(DatasourceConnection dc,
String tableQualifier,
String tableOwner,
String tableName) |
void |
release() |
void |
setDatasource(String datasource)
set the value datasource
Name of the data source that contains your table.
|
void |
setFormfields(String formfields)
set the value formfields
A comma-separated list of form fields to insert.
|
void |
setPassword(String password)
set the value password
If specified, password overrides the password value specified in the ODBC setup.
|
void |
setTablename(String tablename)
set the value tablename
Name of the table you want the form fields inserted in.
|
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.
|
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Insert()
public void release()
public void setPassword(String password)
password
- value to setpublic void setDatasource(String datasource)
datasource
- value to setpublic void setUsername(String username)
username
- value to setpublic void setFormfields(String formfields)
formfields
- value to setpublic void setTableowner(String tableowner)
tableowner
- value to setpublic void setTablename(String tablename)
tablename
- 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
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
public static Object getDatasource(PageContext pageContext, String datasource) throws ApplicationException
ApplicationException
public static Struct getMeta(DatasourceConnection dc, String tableQualifier, String tableOwner, String tableName) throws SQLException
SQLException
Copyright © 2015 Lucee