TS 6.5Solaris 9is it possible to use the callServer function twice the during the onFormInit state of a form. I have two different functions call a cgi using IWDatacapture.callServer one after the other. Only one of them ends up returning. That is the last one called returns from the CGI script. The other one does not return at all. I think the return of the callServer functions are interfering with one another. Has anyone experienced this? Any thoughts?------------------------------------------in the code below it is GetDefault that returns from the callServer script. The GetContent function fails to complete it's use of callServer.-----------------------------------------------// Tell the renderer to all enablePreviewImagesIWDatacapture.enableImagePreview(true);IWEventRegistry.addFormHandler("onFormInit", init);function init(){ var dummy = IWDatacapture.getItem("/site_nav/dummy"); dummy.setFocus(); GetContent(); <--- uses callServer //Collapse containers setTimeout("collapseXMLContainer('/site_nav')",1); var dcrFields = new Array(); dcrFields[0] = "/site_nav/brand/leftImage"; dcrFields[1] = "/site_nav/brand/leftImageAlt"; GetDefault(dcrFields); <--- uses callServer}
TS 6.5Solaris 9is it possible to use the callServer function twice the during the onFormInit state of a form. I have two different functions call a cgi using IWDatacapture.callServer one after the other. Only one of them ends up returning. That is the last one called returns from the CGI script. The other one does not return at all. I think the return of the callServer functions are interfering with one another. Has anyone experienced this? Any thoughts?------------------------------------------in the code below it is GetDefault that returns from the callServer script. The GetContent function fails to complete it's use of callServer.-----------------------------------------------// Tell the renderer to all enablePreviewImagesIWDatacapture.enableImagePreview(true);IWEventRegistry.addFormHandler("onFormInit", init);function init(){var dummy = IWDatacapture.getItem("/site_nav/dummy"); dummy.setFocus(); GetContent(); <--- uses callServer//Collapse containerssetTimeout("collapseXMLContainer('/site_nav')",1); var dcrFields = new Array();dcrFields[0] = "/site_nav/brand/leftImage";dcrFields[1] = "/site_nav/brand/leftImageAlt";GetDefault(dcrFields); <--- uses callServer}