associates a form with a dataset
Used with form or baseform, the <submit> tag associates the
form with its dataset. See <form> tag for example code.
<form>, <baseform> and <dataset>
| Attributes | |||||
| Name | Usage | Type (Tag) | Type (JS) | Default | Category |
| data | Tag & JS | expression | any | 0 | setter |
|
The dataset that specifies the request url, which will also hold the result of the query. |
|||||
|
|
|||||
| error | Tag & JS | string | String | setter | |
|
Error from most recent response or empty string; cleared to empty string each time a request on the dataset is made. Default: '' |
|||||
|
|
|||||
| status | Tag & JS | string | String | ok | setter |
|
Read-only status of data request. Possible values are 'ok', 'requesting', and 'error'. Default: 'ok'. |
|||||
|
|
|||||
class, classroot, cloneManager, datapath, defaultplacement, id, ignoreAttribute, ignoreplacement, immediateparent, initstage, name, nodeLevel, onconstruct, oninit, parent, placement, subnodes
| setDataset() | ||
| submit.setDataset(dset) | ||
|
Method to set the dataset associated with form. |
||
| Parameters | ||
| Name | Type | Desc |
| dset | LzDataset | a dataset. |
|
|
||
| submit() | ||
| submit.submit() | ||
|
Data from all sibling components and their children will send as a request to the server using 'data' dataset. |
||
|
|
animate, applyConstraint, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, init, lookupSourceLocator, searchImmediateSubnodes, searchSubnodes, setAttribute, setDatapath, setID, setName, setOption
| Events |
Copyright © 2002-2007 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.