Name
submit — associates a form with a dataset
Description
Used with form or baseform, the submit tag associates the
form with its dataset. See form tag for example code.
Associates a form with a dataset.
Details
Properties (6)
-
data
-
<attribute name="data" value="0" />
The dataset that specifies the request url, which will also hold
the result of the query.
-
_dataDel
-
<attribute name="_dataDel" value="0" />
-
error
-
<attribute name="error" type="string" value="" />
public var error : String;
Error from most recent response or empty string; cleared to empty
string each time a request on the dataset is made. Default: ''
-
_errorDel
-
<attribute name="_errorDel" value="0" />
-
status
-
<attribute name="status" type="string" value="ok" />
public var status : String;
Read-only status of data request. Possible values are 'ok',
'requesting', and 'error'. Default: 'ok'.
-
_timeoutDel
-
<attribute name="_timeoutDel" value="0" />
Methods (7)
-
_clearDels()
-
<method name="_clearDels" />
private function _clearDels();
Remove any existing delegates.
-
destroy()
-
<method name="destroy" />
private function destroy();
-
_recvdata()
-
<method name="_recvdata" />
private function _recvdata();
-
_recverror()
-
<method name="_recverror" />
private function _recverror();
-
_recvtimeout()
-
<method name="_recvtimeout" />
private function _recvtimeout();
-
setDataset()
-
<method name="setDataset" args="dset" />
public function setDataset(dset : LzDataset);
Method to set the dataset associated with form.
-
submit()
-
public function submit();
Data from all sibling components and their children will send as a
request to the server using 'data' dataset.
LZX Synopsis
<class name="
lz.submit" extends="
LzNode
">
<attribute name="
data
" value="
0" />
<attribute name="
_dataDel
" value="
0" />
<attribute name="
error
" type="
string" value="
" />
<attribute name="
status
" type="
string" value="
ok" />
</class>
JavaScript Synopsis
public
lz.submit extends
LzNode
{
public var
error
:
String;
prototype private function
destroy
();
prototype public function
setDataset
(
dset : LzDataset);
prototype public function
submit
();
}