|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public SubmittableForm
An interface representing a submittable form. Submittable forms can be used to import resources of models, which implement the SubmittableFormProvider interface, for example spaces or templates. The provider of submittable forms automatically set the necessary URL parameters, such as enctype, action and method. To submit a submittable form, you invoke the submit()-method, which in turn imports the resource using an appropriate xhr request.
Example:
var form = spaceModel.getSubmittableImportForm(spaceId);
form.submit().start();
Method Summary | |
---|---|
String |
getURL()
Returns the URL this form is submitted to. |
String |
getMethod()
Returns the HTTP method used to submit this form. |
Deferred |
submit()
Submits the form |
Methods inherited from interface com.ibm.mashups.enabler.Identifiable |
---|
getID |
Method Detail |
---|
String getURL()
null
String getMethod()
null
Deferred submit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |