Silver Member posted November 20, 2013 12:22 PM
While waiting to return an output, the screen should show the default: "Please wait, loading" but instead it is showing a blank page. I have tried different ways to update my code below so it can display warning but I have been unsuccessful. Any suggestions? thanks
<HTML>
<HEAD>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7703, Generation 3.0">
<SCRIPT id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
<SCRIPT id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";
var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
var ibixmltree="ibixmltree";
var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>
<SCRIPT id=IBI_nls type=text/javascript src="/ibi_html/javaassist/nls.js"></SCRIPT>
<SCRIPT id=IBI_nlsVars type=text/javascript src="/ibi_html/javaassist/nlsvars.js"></SCRIPT>
<SCRIPT id=IBI_ibigbl type=text/javascript src="/ibi_html/javaassist/ibi/html/js/ibigbl.js"></SCRIPT>
<SCRIPT id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");
</SCRIPT>
<TITLE>CAD Quick Part Upload</TITLE>
<META name=SENSITIVITY content=UNRESTRICTED>
<SCRIPT id=makeparam type=text/javascript>
function adddelimiter(visibleid,hiddenid){
var undelimited=document.getElementById(visibleid).value;
document.getElementById(hiddenid).value=undelimited.replace(/\r\n\b/g, '|');
}
</SCRIPT>
<SCRIPT id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
</SCRIPT>
<SCRIPT for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
</HEAD>
<BODY style="OVERFLOW: auto" aLink=#003399 leftMargin=0 link=#003399 topMargin=0 vLink=#003399 nextelementuniquenumber="15" thumbnailscale="4" elementtype="21" marginwidth="0" marginheight="0" edaconnectionrequired="false">
<FORM method=post action=/ibi_apps/WFServlet form_type="1">
<INPUT style="WIDTH: 155px; HEIGHT: 22px" value=cartest type=hidden persistentuniqueid="compUid_1" name="IBIF_ex">
<CENTER>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=900>
<TBODY>
<TR>
<TD bgColor=#ffffff vAlign=top width=1 align=left></TD>
<TD vAlign=top width=749 align=middle>
<CENTER>
<TABLE border=0 cellSpacing=5 cellPadding=0 width=914 height="100%">
<TBODY>
<TR></TR>
<TR></TR>
<TR>
<TD width=200></TD>
<TD class=bluemain colSpan=2 align=left>
<H2>
<FONT color=#000033 face="Segoe UI">[b]<U>Your Selection</U>: Quick Part Upload[/b] </FONT>
<FONT color=#000033 size=3 face="Segoe UI">
<BR></FONT></H2></TD></TR></TBODY></TABLE>
<TABLE width=1000>
<TBODY>
<TR>
<TD width=200></TD>
<TD>
<FONT color=#000033 size=3 face="Segoe UI">Copy and Paste a single column of Part # into text area</FONT></TD></TR>
<TR>
<TD width=200></TD>
<TD>
<FONT color=#000033 size=2 face="Segoe UI">Note: Maximum of 1000 records. Query can take up to 30 seconds</FONT></TD></TR>
<TR>
<TD width=200></TD>
<TD>
<FONT color=#000033 size=2 face="Segoe UI"></FONT></TD></TR>
<TR></TR></TBODY></TABLE>
<P>
<CENTER>
<TABLE width=500 align=right>
<TBODY>
<TR>
<TD></TD>
<TD></TD>
<INPUT onclick="adddelimiter('PNBULK1','PNBULK')" value="Submit Query" type=submit>
<INPUT value=Reset type=reset name="RESET"></FONT> </TD></TR></TD></TD></TBODY></TABLE></CENTER>
<P></P>
<P></P></FORM></CENTER></TD></TR></TBODY></TABLE></CENTER>
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden>
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value="cad baseapp" type=hidden name="ibiapp_app">
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode focoption="FOC_NONE">
<variables></variables>
<input_controls>
<input_control bindcontrolid="compUid_1" elementtype="26" name="IBIF_ex" id="" multiple="0" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0" accept="0" sourcetype="typeMaster">
<static_values>
<static value="rungpa1-ph" display="rungpa1-ph" selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_2" elementtype="29" name="PNBULK1" id="PNBULK1" multiple="1" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0">
<![CDATA[]]></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_3" elementtype="26" name="PNBULK" id="PNBULK" multiple="0" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0" accept="0" sourcetype="typeMaster">
<static_values>
<static value="" display="" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_4" elementtype="26" name="INPUT1" id="" multiple="0" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0" accept="0" sourcetype="typeMaster">
<static_values>
<static value="1" display="1" selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_5" elementtype="26" name="REPORT" id="" multiple="0" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0" accept="0" sourcetype="typeMaster">
<static_values>
<static value="5" display="5" selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control>
<input_control bindcontrolid="compUid_6" elementtype="26" name="SEGMENT" id="" multiple="0" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0" accept="0" sourcetype="typeMaster">
<static_values>
<static value="2" display="2" selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control></input_controls>
<other_bound_objects></other_bound_objects>
<requests></requests></rootxmlnode></script>
</xml></BODY>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>
This message has been edited. Last edited by: paulux99 , November 27, 2013 02:09 PM
Gold member Hi Pauluz99
Go to the procedure that the HTM is executing and put the following code:
-SET &ECHO=ALL;
-? &
-EXIT
Set the format to HTML
Then run the procedure from the HTM page and the view source. You will see all the parameters available to the procedure and see if any parameter is not being set.
If that does not show you anything open a case with tech support...
Thanks Barry
WebFOCUS 8103, Windows, App Studio
Posts: 80 | Location: NYC | Registered: November 13, 2008
IP