Is there a way to get all the widgets on a form?
I am looking for a method like jmaki.getAllWidgets() which returns the list of all jMaki widgets on the form.
Use jmaki.attributes.keys() method to get the list of all widgets names in your form.
Here is sample code I have for getting all my combobox widgets on the form:
var widgets = jmaki.attributes.keys();
var widget = "";
var list = new Array();
for (i=0; i
widget = widgets[i];
widgetObj = jmaki.getWidget(widget);
if (widgetObj instanceof jmaki.widgets.sbm.combobox.Widget)
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.