OpenWGA 7.6 - TMLScript reference
TMLForm "tmlform"Method :
store()
On object | TMLForm "tmlform" |
Usage | Stores the form data to the source of the form |
Description |
This method is the TMLScript pendant of default action $store. It transmits the form data back to its individual data source, mostly determined by the source attribute of <tml:form>:
Before transmitting the data this method triggers the form validation. If validation fails the operation is canceled and this method returns false. If saving failed because of some other cause this method throws an error. Methods tmlform.storeInContent(), tmlform.storeInPortlet() and tmlform.storeInProfile() are older versions for the same purpose. |
Return value | true if the store operation succeeded, false if it didn't because of failed validations (Boolean) |
Allowed in script types |
|