Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Unknown macro: {div}
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
Unknown macro: {div}
Unknown macro: {table}
{column:width=80px|padding=0px}{column}{column}{column}
Unknown macro: {tr} Unknown macro: {th} Property Summary
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} sticky
Flag to set a set the footer sticky so it will not scroll out of view.
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} styleClass
The Cascading Style Sheet (CSS) class name applied to the part.
Unknown macro: {table}
{column:width=80px|padding=0px}{column}{column}{column}
Unknown macro: {tr} Unknown macro: {th} Method Summary
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} getComponents()
Returns a array of all the IBaseSMComponents that a footer has.
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} newButton(text, x, jsmethod)
Creates a new button on the footer.
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} removeComponent(name)
Removes a named component from the footer.
Unknown macro: {table}
{column:width=100%|padding=0px}{column}
Unknown macro: {tr} Unknown macro: {th} Property Details
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} sticky
Unknown macro: {tr} Unknown macro: {td} Returns
Unknown macro: {tr} Unknown macro: {td} Sample
Unknown macro: {div}
var form = solutionModel.newForm('newForm1', myDatasource);
var footer = form.newFooter()
footer.sticky = false // default: true
Unknown macro: {tr} Unknown macro: {td}
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} styleClass
Unknown macro: {tr} Unknown macro: {td} Returns
Unknown macro: {tr} Unknown macro: {td} Sample
Unknown macro: {div}
var body = form.newPart(JSPart.BODY, 320);
body.styleClass = 'myBody';
Unknown macro: {tr} Unknown macro: {td}
Unknown macro: {table}
{column:width=100%|padding=0px}{column}
Unknown macro: {tr} Unknown macro: {th} Method Details
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} getComponents
Unknown macro: {tr} Unknown macro: {td} Unknown macro: {span} getComponents
Unknown macro: {tr} Unknown macro: {td} Returns
Unknown macro: {div} JSComponent[] – an array of all the JSComponents on the footer.
Unknown macro: {tr} Unknown macro: {td} Sample
Unknown macro: {div}
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]);
Unknown macro: {tr} Unknown macro: {td}
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} newButton
Unknown macro: {tr} Unknown macro: {td} Unknown macro: {span} newButton
Unknown macro: {span} (text, x, jsmethod)
Unknown macro: {tr} Unknown macro: {td} Parameters
Unknown macro: {div} {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
Unknown macro: {tr} Unknown macro: {td} Returns
Unknown macro: {div} JSButton – a new JSCalendar element
Unknown macro: {tr} Unknown macro: {td} Sample
Unknown macro: {div}
var form = solutionModel.getForm('myform')
var footer = form.getForm('myform').newFooter()
footer.newButton('myvar', form.getMethod('doit'));
forms['newForm1'].controller.show();
Unknown macro: {tr} Unknown macro: {td}
Unknown macro: {tbody} Unknown macro: {tr} Unknown macro: {td} removeComponent
Unknown macro: {tr} Unknown macro: {td} Unknown macro: {span} removeComponent
Unknown macro: {span} (name)
Unknown macro: {tr} Unknown macro: {td} Parameters
Unknown macro: {div} {String} name – the specified name of the component to remove
Unknown macro: {tr} Unknown macro: {td} Returns
Unknown macro: {div} Boolean – true is the component has been successfully removed; false otherwise
Unknown macro: {tr} Unknown macro: {td} Sample
Unknown macro: {div}
var form = solutionModel.getForm("myForm");
var footer = form.getFooter();
footer.removeComponent('myfield1')
Unknown macro: {tr} Unknown macro: {td}