3). Insert the following after the form load with error section.
var callback = function(subject, form) { var stat = form.getLoadStats(); alert("stat.length="+stat.length); for (var i=0; i<stat.length; i++) { alert(stat[i].label+" |End Time : " + stat[i].endTime+" | Begin Time : " + stat[i].startTime); } } PageBus.subscribe('com.tibco.forms.form.loaded', null,callback);
For reference, these changes have been made to the attached JSP files (Filename: login.jsp,openworkitem.jsp and worklist.jsp) from the sampleapp.zip provided with the product.
Issue/Introduction
Getting Form LoadStats to work in AMX BPM Custom Forms.
Additional Information
TIBCO ActiveMatrix BPM Developer's Guide, Appendix B
Attachments
Getting Form LoadStats to work in AMX BPM Custom Forms.get_app
Getting Form LoadStats to work in AMX BPM Custom Forms.get_app
Getting Form LoadStats to work in AMX BPM Custom Forms.get_app