com.sebtools.FormSaver
hierarchy: |
WEB-INF.cftags.component com.sebtools.FormSaver |
properties: | |
methods: | init, delete, getDbXml, retrieve, store |
init |
---|
public
any
init
(
any
DataMgr,
any
SessionMgr,
string
tablename="frmSaveds"
)
I instantiate and return this component. Either the DataMgr or the SessionMgr must be passed in to initialize this component. Output: suppressed Parameters: DataMgr: any, optional, DataMgr SessionMgr: any, optional, SessionMgr tablename: string, optional, tablename |
delete |
public
void
delete
(
required
string
formname,
string
usertoken
)
I delete a form. Output: suppressed Parameters: formname: string, required, formname - A name to uniquely identify this form. usertoken: string, optional, usertoken - Any unique string (maybe cfid_cftoken) to identify the user. Required only if using DataMgr. |
getDbXml |
public
string
getDbXml
(
)
I return the XML for the tables needed for FormSaver to work. Output: suppressed |
retrieve |
public
struct
retrieve
(
required
string
formname,
string
usertoken
)
I retrieve the form. Output: suppressed Parameters: formname: string, required, formname - A name to uniquely identify this form. usertoken: string, optional, usertoken - Any unique string (maybe cfid_cftoken) to identify the user. Required only if using DataMgr. |
store |
public
void
store
(
required
struct
formdata,
required
string
formname,
string
usertoken
)
I store the form. Output: suppressed Parameters: formdata: struct, required, formdata - The structure of form data - can simply be the form scope itself. formname: string, required, formname - A name to uniquely identify this form. usertoken: string, optional, usertoken - Any unique string (maybe cfid_cftoken) to identify the user. Required only if using DataMgr. |