DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Returns a array of all the IBaseSMComponents that a footer has.
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
JSComponent[] - an array of all the JSComponents on the footer.
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
var form = solutionModel.getForm("myForm");
var footer = form.getFooter();
var components = footer.getComponents();
for (var i in components)
application.output("Component type and name: " + components[i]);
{String} text - the text on the button {Number} x - the horizontal "x" position of the new element, defines the order of elements on the footer {JSMethod} jsmethod - the method assigned to handle an onAction event
var form = solutionModel.getForm('myform')
var footer = form.getForm('myform').newFooter()
footer.newButton('myvar', form.getMethod('doit'));
forms['newForm1'].controller.show();