As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Read-Only TopicGo
Search
Notify
Admin
New PM!
Master posted April 18, 2011 09:59 AM
I am trying to build a small application where a manager can click a link called "Management Reports" that first of all presents a box where they are invited to enter a password. The password parameter is passed to a FEX as follows:
-IF &PASSWORD EQ 'abcdef' GOTO MANAGEMENT ELSE GOTO MAINMENU;
-MANAGEMENT
-HTMLFORM LAUNCH_MGT_CONSOLE.HTM
-GOTO DONE
-MAINMENU
-HTMLFORM CHEMOMAIN.HTM
-DONE
This works fine on localhost under Windows 7.
However, when I deploy to the server (WF7611 on Linux) I have two problems:
1) The password text does not get masked even though the Property is set correctly;
2) After entering the password and clicking OK I get the following error message.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A string literal was expected, but no opening quote character was found. Error processing resource 'http://10.11.12.5/ibi_a...
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
---------^
I'm not an html or xml guy. Can anyone help with these issues? (I'm wondering if it has anything to do with the length of my HTML filenames. The documentation suggests that 8 characters is the max under Unix. Is this true under Linux too?)
This message has been edited. Last edited by: George Patton , April 21, 2011 05:30 PM WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010
IP
Expert George,
To help you, I think we need to see the two html pages called by the HTMLFORM commands.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005
IP
Master Francis,
Here is the code for the 3 relevant HTML files. In the FEX I use uppercase for the filenames,
but in reality they are lowercase in the file system. Again, I'm relying on the documentation
that suggests they should be uppercase, but I don't know if that's right.
-----------------------------------------------------------------------------------
Here is CHEMOMAIN.HTM
<HTML><HEAD><TITLE>HtmlPage</TITLE>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7611, 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>
<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>
<META name=GENERATOR content="MSHTML 8.00.7600.16766"></HEAD>
<BODY style="Z-INDEX: 0; BACKGROUND-COLOR: lightyellow; WIDTH: 1024px; FONT-FAMILY: Arial, 'Times New Roman'; HEIGHT: 768px; COLOR: #3333ff; FONT-SIZE: 12pt; OVERFLOW: auto; FONT-WEIGHT: bold" id=chemomain edaconnectionrequired="true" elementtype="21" nextelementuniquenumber="28" persistentuniqueid="compUid_1"><SPAN style="Z-INDEX: 5; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 110px; LEFT: 70px" id=recentorders tabIndex=5 persistentuniqueid="compUid_8"><FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt" id=ITEM1 persistentuniqueid="compUid_9">[b]</B><B>[/b]<FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt"><A id=anchor15 name=anchor15 autoExecute="True"><A id=anchor16 href="javascript:OnExecute(null, 'anchor16')" name=anchor16 autoExecute="True" requests_list="16">Order Detail - Orders since selected date </A></FONT></FONT></SPAN><SPAN style="Z-INDEX: 13; POSITION: absolute; WIDTH: 170px; HEIGHT: 20px; TOP: 490px; LEFT: 420px" id=text10 tabIndex=17 persistentuniqueid="compUid_26"><U id=ITEM2 persistentuniqueid="compUid_27"><A id=anchor18 name=anchor18 autoExecute="True"><A id=anchor20 href="javascript:OnExecute(null, 'anchor20')" name=anchor20 autoExecute="True" requests_list="21">Management Reports </A></A></U></SPAN><SPAN style="Z-INDEX: 10; POSITION: absolute; WIDTH: 150px; HEIGHT: 19px; TOP: 60px; LEFT: 720px" id=text6 tabIndex=10 persistentuniqueid="compUid_15"><U>Inventory Reports </U></SPAN><SPAN style="Z-INDEX: 3; POSITION: absolute; WIDTH: 150px; HEIGHT: 20px; TOP: 60px; LEFT: 120px" id=CustomerReports tabIndex=3 persistentuniqueid="compUid_6"><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold"><U>Customer Reports </U></FONT></SPAN><SPAN style="Z-INDEX: 4; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 90px; LEFT: 70px" id="B2calendar years" tabIndex=4 persistentuniqueid="compUid_7"><FONT style="FONT-FAMILY: Arial; COLOR: slateblue; FONT-SIZE: 8pt"><A id=anchor2 name=anchor2 autoExecute="True"><A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: #3300ff"><A></A></FONT><FONT style="FONT-SIZE: 8pt"><A></A></FONT><FONT style="COLOR: blue"><A></A></FONT><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt"><A><A id=anchor19 href="javascript:OnExecute(null, 'anchor19')" name=anchor19 autoExecute="True" requests_list="12">Sales volume per product and calendar year (B2) </A></A><A></A></FONT><FONT style="FONT-SIZE: 8pt"><A><A></A></A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: slateblue; FONT-SIZE: 8pt"><A id=anchor3 href="javascript:OnExecute(null, 'anchor3')" name=anchor3 autoExecute="True" requests_list="3"></A></A></A></FONT></SPAN><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; LEFT: 350px" id=frm_menu_col2 tabIndex=6 src="" name=frm_menu_col2 persistentuniqueid="compUid_11" autoExecute="False" WIDTHOLD="300" HEIGHTOLD="500">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; PADDING-LEFT: 0px; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; PADDING-TOP: 0px; LEFT: 650px" id=frm_menu_col3 tabIndex=7 src="" name=frm_menu_col3 persistentuniqueid="compUid_12" WIDTHOLD="300" HEIGHTOLD="500">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; LEFT: 50px" id=frm_menu_col1 tabIndex=2 src="" name=frm_menu_col1 persistentuniqueid="compUid_4" autoExecute="False" WIDTHOLD="300" HEIGHTOLD="500">
</IFRAME><SPAN style="Z-INDEX: 8; POSITION: absolute; WIDTH: 150px; HEIGHT: 19px; TOP: 60px; LEFT: 420px" id=text4 tabIndex=8 persistentuniqueid="compUid_13"><U>Supplier Reports </U></SPAN><IFRAME style="Z-INDEX: 11; BORDER-BOTTOM: #0000cc thin solid; POSITION: absolute; BORDER-LEFT: #0000cc thin solid; BACKGROUND-COLOR: #3300ff; WIDTH: 900px; FONT-FAMILY: Arial; HEIGHT: 40px; COLOR: white; BORDER-TOP: #0000cc thin solid; TOP: 0px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc thin solid; LEFT: 50px" id=frm_title tabIndex=11 src="" name=frm_title scrolling=no persistentuniqueid="compUid_16" autoExecute="False" WIDTHOLD="900" HEIGHTOLD="40">
</IFRAME><SPAN style="Z-INDEX: 12; POSITION: absolute; WIDTH: 360px; HEIGHT: 30px; TOP: 10px; LEFT: 340px" id=text7 tabIndex=12 persistentuniqueid="compUid_17"><FONT style="FONT-FAMILY: Eurostile; COLOR: #ffffff; FONT-SIZE: 18pt; FONT-WEIGHT: bold">Chemo Reports Console </FONT></SPAN><IFRAME style="Z-INDEX: 5; POSITION: absolute; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; WIDTH: 613px; DISPLAY: none; BORDER-TOP-STYLE: none; HEIGHT: 433px; VISIBILITY: visible; BORDER-LEFT-STYLE: none; TOP: 100px; LEFT: 190px" id=frm_ReportParameter tabIndex=13 src="" frameBorder=yes name=frm_ReportParameter scrolling=no persistentuniqueid="compUid_18" autoExecute="False" WIDTHOLD="613" HEIGHTOLD="433">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: white thin solid; POSITION: absolute; BORDER-LEFT: white thin solid; BACKGROUND-COLOR: transparent; WIDTH: 230px; DISPLAY: none; HEIGHT: 100px; VISIBILITY: visible; OVERFLOW: visible; BORDER-TOP: white thin solid; TOP: 200px; BORDER-RIGHT: white thin solid; LEFT: 370px" id=frm_password tabIndex=18 src="" name=frm_password scrolling=no persistentuniqueid="compUid_28" autoExecute="False" WIDTHOLD="230" HEIGHTOLD="100">
</IFRAME> <SPAN style="Z-INDEX: 0; POSITION: absolute; WIDTH: 230px; HEIGHT: 30px; TOP: 492px; LEFT: 80px" id=text8 tabIndex=15 persistentuniqueid="compUid_23"><A id=anchor5 href="javascript:OnExecute(null, 'anchor5')" name=anchor5 autoExecute="True" requests_list="9">REBUILD FOCUS DATABASE </A></SPAN><SPAN style="Z-INDEX: 0; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 130px; LEFT: 70px" id=text9 tabIndex=16 persistentuniqueid="compUid_25"><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A id=anchor17 href="javascript:OnExecute(null, 'anchor17')" name=anchor17 autoExecute="True" requests_list="15">Order Summary - Order totals per calendar year </A></FONT></SPAN><INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden> <INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value=chemomenu type=hidden name=ibiapp_app>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode>
<variables>
</variables>
<input_controls>
</input_controls>
<other_bound_objects>
</other_bound_objects>
<requests nextrequestsid="21">
<request requestid="3" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_template.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="9" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="build13.fex" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="12" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_b2calyr.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="15" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_recent_summary.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
<request requestid="16" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_recent_detail.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
<request requestid="21" sourcetype="typeHtml" targettype="iframe" targetname="frm_password" ibif_ex="launch_mgt_report_password.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
</requests>
</rootxmlnode>
</script>
</xml></BODY></HTML>
-----------------------------------------------------------------------------------------------------
Here is the code for LAUNCH_MGT_PASSWORD.HTM
<HTML><HEAD><TITLE>HtmlPage</TITLE>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7611, 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>
<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>
<META name=GENERATOR content="MSHTML 8.00.7600.16766"></HEAD>
<BODY style="Z-INDEX: 0; BACKGROUND-COLOR: lightyellow; WIDTH: 1024px; FONT-FAMILY: Arial, 'Times New Roman'; HEIGHT: 768px; COLOR: #3333ff; FONT-SIZE: 12pt; OVERFLOW: auto; FONT-WEIGHT: bold" id=chemomain edaconnectionrequired="true" elementtype="21" nextelementuniquenumber="28" persistentuniqueid="compUid_1"><SPAN style="Z-INDEX: 5; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 110px; LEFT: 70px" id=recentorders tabIndex=5 persistentuniqueid="compUid_8"><FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt" id=ITEM1 persistentuniqueid="compUid_9">[b]</B><B>[/b]<FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt"><A id=anchor15 name=anchor15 autoExecute="True"><A id=anchor16 href="javascript:OnExecute(null, 'anchor16')" name=anchor16 autoExecute="True" requests_list="16">Order Detail - Orders since selected date </A></FONT></FONT></SPAN><SPAN style="Z-INDEX: 13; POSITION: absolute; WIDTH: 170px; HEIGHT: 20px; TOP: 490px; LEFT: 420px" id=text10 tabIndex=17 persistentuniqueid="compUid_26"><U id=ITEM2 persistentuniqueid="compUid_27"><A id=anchor18 name=anchor18 autoExecute="True"><A id=anchor20 href="javascript:OnExecute(null, 'anchor20')" name=anchor20 autoExecute="True" requests_list="21">Management Reports </A></A></U></SPAN><SPAN style="Z-INDEX: 10; POSITION: absolute; WIDTH: 150px; HEIGHT: 19px; TOP: 60px; LEFT: 720px" id=text6 tabIndex=10 persistentuniqueid="compUid_15"><U>Inventory Reports </U></SPAN><SPAN style="Z-INDEX: 3; POSITION: absolute; WIDTH: 150px; HEIGHT: 20px; TOP: 60px; LEFT: 120px" id=CustomerReports tabIndex=3 persistentuniqueid="compUid_6"><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold"><U>Customer Reports </U></FONT></SPAN><SPAN style="Z-INDEX: 4; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 90px; LEFT: 70px" id="B2calendar years" tabIndex=4 persistentuniqueid="compUid_7"><FONT style="FONT-FAMILY: Arial; COLOR: slateblue; FONT-SIZE: 8pt"><A id=anchor2 name=anchor2 autoExecute="True"><A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: #3300ff"><A></A></FONT><FONT style="FONT-SIZE: 8pt"><A></A></FONT><FONT style="COLOR: blue"><A></A></FONT><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt"><A><A id=anchor19 href="javascript:OnExecute(null, 'anchor19')" name=anchor19 autoExecute="True" requests_list="12">Sales volume per product and calendar year (B2) </A></A><A></A></FONT><FONT style="FONT-SIZE: 8pt"><A><A></A></A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: slateblue; FONT-SIZE: 8pt"><A id=anchor3 href="javascript:OnExecute(null, 'anchor3')" name=anchor3 autoExecute="True" requests_list="3"></A></A></A></FONT></SPAN><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; LEFT: 350px" id=frm_menu_col2 tabIndex=6 src="" name=frm_menu_col2 persistentuniqueid="compUid_11" autoExecute="False" WIDTHOLD="300" HEIGHTOLD="500">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; PADDING-LEFT: 0px; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; PADDING-TOP: 0px; LEFT: 650px" id=frm_menu_col3 tabIndex=7 src="" name=frm_menu_col3 persistentuniqueid="compUid_12" WIDTHOLD="300" HEIGHTOLD="500">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; LEFT: 50px" id=frm_menu_col1 tabIndex=2 src="" name=frm_menu_col1 persistentuniqueid="compUid_4" autoExecute="False" WIDTHOLD="300" HEIGHTOLD="500">
</IFRAME><SPAN style="Z-INDEX: 8; POSITION: absolute; WIDTH: 150px; HEIGHT: 19px; TOP: 60px; LEFT: 420px" id=text4 tabIndex=8 persistentuniqueid="compUid_13"><U>Supplier Reports </U></SPAN><IFRAME style="Z-INDEX: 11; BORDER-BOTTOM: #0000cc thin solid; POSITION: absolute; BORDER-LEFT: #0000cc thin solid; BACKGROUND-COLOR: #3300ff; WIDTH: 900px; FONT-FAMILY: Arial; HEIGHT: 40px; COLOR: white; BORDER-TOP: #0000cc thin solid; TOP: 0px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc thin solid; LEFT: 50px" id=frm_title tabIndex=11 src="" name=frm_title scrolling=no persistentuniqueid="compUid_16" autoExecute="False" WIDTHOLD="900" HEIGHTOLD="40">
</IFRAME><SPAN style="Z-INDEX: 12; POSITION: absolute; WIDTH: 360px; HEIGHT: 30px; TOP: 10px; LEFT: 340px" id=text7 tabIndex=12 persistentuniqueid="compUid_17"><FONT style="FONT-FAMILY: Eurostile; COLOR: #ffffff; FONT-SIZE: 18pt; FONT-WEIGHT: bold">Chemo Reports Console </FONT></SPAN><IFRAME style="Z-INDEX: 5; POSITION: absolute; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; WIDTH: 613px; DISPLAY: none; BORDER-TOP-STYLE: none; HEIGHT: 433px; VISIBILITY: visible; BORDER-LEFT-STYLE: none; TOP: 100px; LEFT: 190px" id=frm_ReportParameter tabIndex=13 src="" frameBorder=yes name=frm_ReportParameter scrolling=no persistentuniqueid="compUid_18" autoExecute="False" WIDTHOLD="613" HEIGHTOLD="433">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: white thin solid; POSITION: absolute; BORDER-LEFT: white thin solid; BACKGROUND-COLOR: transparent; WIDTH: 230px; DISPLAY: none; HEIGHT: 100px; VISIBILITY: visible; OVERFLOW: visible; BORDER-TOP: white thin solid; TOP: 200px; BORDER-RIGHT: white thin solid; LEFT: 370px" id=frm_password tabIndex=18 src="" name=frm_password scrolling=no persistentuniqueid="compUid_28" autoExecute="False" WIDTHOLD="230" HEIGHTOLD="100">
</IFRAME> <SPAN style="Z-INDEX: 0; POSITION: absolute; WIDTH: 230px; HEIGHT: 30px; TOP: 492px; LEFT: 80px" id=text8 tabIndex=15 persistentuniqueid="compUid_23"><A id=anchor5 href="javascript:OnExecute(null, 'anchor5')" name=anchor5 autoExecute="True" requests_list="9">REBUILD FOCUS DATABASE </A></SPAN><SPAN style="Z-INDEX: 0; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 130px; LEFT: 70px" id=text9 tabIndex=16 persistentuniqueid="compUid_25"><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A id=anchor17 href="javascript:OnExecute(null, 'anchor17')" name=anchor17 autoExecute="True" requests_list="15">Order Summary - Order totals per calendar year </A></FONT></SPAN><INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden> <INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value=chemomenu type=hidden name=ibiapp_app>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode>
<variables>
</variables>
<input_controls>
</input_controls>
<other_bound_objects>
</other_bound_objects>
<requests nextrequestsid="21">
<request requestid="3" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_template.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="9" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="build13.fex" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="12" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_b2calyr.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="15" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_recent_summary.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
<request requestid="16" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_recent_detail.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
<request requestid="21" sourcetype="typeHtml" targettype="iframe" targetname="frm_password" ibif_ex="launch_mgt_report_password.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
</requests>
</rootxmlnode>
</script>
</xml></BODY></HTML>
---------------------------------------------------------------------------
Here is LAUNCH_MGT_CONSOLE.HTM Note that it is essentially the same at this point as CHEMOMAIN.HTM.
The plan is to flush it out with clickable links for all available reports later.
<HTML><HEAD><TITLE>HtmlPage</TITLE>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7611, 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>
<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>
<META name=GENERATOR content="MSHTML 8.00.7600.16766"></HEAD>
<BODY style="Z-INDEX: 0; BACKGROUND-COLOR: lightyellow; WIDTH: 1024px; FONT-FAMILY: Arial, 'Times New Roman'; HEIGHT: 768px; COLOR: #3333ff; FONT-SIZE: 12pt; OVERFLOW: auto; FONT-WEIGHT: bold" id=chemomain persistentuniqueid="compUid_1" nextelementuniquenumber="31" elementtype="21" edaconnectionrequired="true"><SPAN style="Z-INDEX: 5; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 110px; LEFT: 70px" id=recentorders tabIndex=5 persistentuniqueid="compUid_8"><FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt" id=ITEM1 persistentuniqueid="compUid_9">[b]</B><B>[/b]<FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt"><A id=anchor15 name=anchor15 autoExecute="True"><A id=anchor16 href="javascript:OnExecute(null, 'anchor16')" name=anchor16 autoExecute="True" requests_list="16">Order Detail - Orders since selected date </A></FONT></FONT></SPAN><SPAN style="Z-INDEX: 14; POSITION: absolute; WIDTH: 140px; HEIGHT: 20px; TOP: 310px; LEFT: 720px" id=text11 tabIndex=20 persistentuniqueid="compUid_30"><U id=ITEM2 persistentuniqueid="compUid_31">Sales Reports </U></SPAN> <SPAN style="Z-INDEX: 10; POSITION: absolute; WIDTH: 150px; HEIGHT: 19px; TOP: 60px; LEFT: 720px" id=text6 tabIndex=10 persistentuniqueid="compUid_15"><U>Inventory Reports </U></SPAN><SPAN style="Z-INDEX: 3; POSITION: absolute; WIDTH: 150px; HEIGHT: 20px; TOP: 60px; LEFT: 120px" id=CustomerReports tabIndex=3 persistentuniqueid="compUid_6"><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold"><U>Customer Reports </U></FONT></SPAN><SPAN style="Z-INDEX: 4; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 90px; LEFT: 70px" id="B2calendar years" tabIndex=4 persistentuniqueid="compUid_7"><FONT style="FONT-FAMILY: Arial; COLOR: slateblue; FONT-SIZE: 8pt"><A id=anchor2 name=anchor2 autoExecute="True"><A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: #3300ff"><A></A></FONT><FONT style="FONT-SIZE: 8pt"><A></A></FONT><FONT style="COLOR: blue"><A></A></FONT><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: #0000ff; FONT-SIZE: 8pt"><A><A id=anchor19 href="javascript:OnExecute(null, 'anchor19')" name=anchor19 autoExecute="True" requests_list="12">Sales volume per product and calendar year (B2) </A></A><A></A></FONT><FONT style="FONT-SIZE: 8pt"><A><A></A></A></A></FONT><FONT style="FONT-FAMILY: Arial; COLOR: slateblue; FONT-SIZE: 8pt"><A id=anchor3 href="javascript:OnExecute(null, 'anchor3')" name=anchor3 autoExecute="True" requests_list="3"></A></A></A></FONT></SPAN><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; LEFT: 350px" id=frm_menu_col2 tabIndex=6 src="" name=frm_menu_col2 persistentuniqueid="compUid_11" autoExecute="False" HEIGHTOLD="500" WIDTHOLD="300">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; PADDING-LEFT: 0px; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; PADDING-TOP: 0px; LEFT: 650px" id=frm_menu_col3 tabIndex=7 src="" name=frm_menu_col3 persistentuniqueid="compUid_12" HEIGHTOLD="500" WIDTHOLD="300">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: #0000cc 1px solid; POSITION: absolute; BORDER-LEFT: #0000cc 1px solid; BACKGROUND-COLOR: #ffffcc; WIDTH: 300px; FONT-FAMILY: Arial; HEIGHT: 500px; COLOR: mediumblue; FONT-SIZE: 12pt; BORDER-TOP: #0000cc 1px solid; TOP: 40px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc 1px solid; LEFT: 50px" id=frm_menu_col1 tabIndex=2 src="" name=frm_menu_col1 persistentuniqueid="compUid_4" autoExecute="False" HEIGHTOLD="500" WIDTHOLD="300">
</IFRAME><SPAN style="Z-INDEX: 8; POSITION: absolute; WIDTH: 150px; HEIGHT: 19px; TOP: 60px; LEFT: 420px" id=text4 tabIndex=8 persistentuniqueid="compUid_13"><U>Supplier Reports </U></SPAN><IFRAME style="Z-INDEX: 11; BORDER-BOTTOM: #0000cc thin solid; POSITION: absolute; BORDER-LEFT: #0000cc thin solid; BACKGROUND-COLOR: red; WIDTH: 900px; FONT-FAMILY: Arial; HEIGHT: 40px; COLOR: white; BORDER-TOP: #0000cc thin solid; TOP: 0px; FONT-WEIGHT: bold; BORDER-RIGHT: #0000cc thin solid; LEFT: 50px" id=frm_title tabIndex=11 src="" name=frm_title scrolling=no persistentuniqueid="compUid_16" autoExecute="False" HEIGHTOLD="40" WIDTHOLD="900">
</IFRAME><SPAN style="Z-INDEX: 12; POSITION: absolute; WIDTH: 420px; HEIGHT: 30px; TOP: 10px; LEFT: 340px" id=text7 tabIndex=12 persistentuniqueid="compUid_17"><FONT style="FONT-FAMILY: Eurostile; COLOR: #ffffff; FONT-SIZE: 18pt; FONT-WEIGHT: bold">Management Reports Console </FONT></SPAN><IFRAME style="Z-INDEX: 5; POSITION: absolute; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; WIDTH: 613px; DISPLAY: none; BORDER-TOP-STYLE: none; HEIGHT: 433px; VISIBILITY: visible; BORDER-LEFT-STYLE: none; TOP: 100px; LEFT: 190px" id=frm_ReportParameter tabIndex=13 src="" frameBorder=yes name=frm_ReportParameter scrolling=no persistentuniqueid="compUid_18" autoExecute="False" HEIGHTOLD="433" WIDTHOLD="613">
</IFRAME><IFRAME style="Z-INDEX: 0; BORDER-BOTTOM: white thin solid; POSITION: absolute; BORDER-LEFT: white thin solid; BACKGROUND-COLOR: transparent; WIDTH: 230px; DISPLAY: none; HEIGHT: 100px; VISIBILITY: visible; OVERFLOW: visible; BORDER-TOP: white thin solid; TOP: 200px; BORDER-RIGHT: white thin solid; LEFT: 370px" id=frm_password tabIndex=18 src="" name=frm_password scrolling=no persistentuniqueid="compUid_28" autoExecute="False" HEIGHTOLD="100" WIDTHOLD="230">
</IFRAME> <SPAN style="Z-INDEX: 0; POSITION: absolute; WIDTH: 230px; HEIGHT: 30px; TOP: 492px; LEFT: 80px" id=text8 tabIndex=15 persistentuniqueid="compUid_23"><A id=anchor5 href="javascript:OnExecute(null, 'anchor5')" name=anchor5 autoExecute="True" requests_list="9">REBUILD FOCUS DATABASE </A></SPAN><SPAN style="Z-INDEX: 0; POSITION: absolute; WIDTH: 270px; HEIGHT: 20px; TOP: 130px; LEFT: 70px" id=text9 tabIndex=16 persistentuniqueid="compUid_25"><FONT style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><A id=anchor17 href="javascript:OnExecute(null, 'anchor17')" name=anchor17 autoExecute="True" requests_list="15">Order Summary - Order totals per calendar year </A></FONT></SPAN><SPAN style="Z-INDEX: 13; POSITION: absolute; WIDTH: 140px; HEIGHT: 20px; TOP: 310px; LEFT: 430px" id=text10 tabIndex=19 persistentuniqueid="compUid_29"><U>Financial Reports </U></SPAN><INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden> <INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value=chemomenu type=hidden name=ibiapp_app>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode>
<variables>
</variables>
<input_controls>
</input_controls>
<other_bound_objects>
</other_bound_objects>
<requests nextrequestsid="20">
<request requestid="3" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_template.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="9" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="build13.fex" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="12" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_b2calyr.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu">
</request>
<request requestid="15" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_recent_summary.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
<request requestid="16" sourcetype="typeHtml" targettype="iframe" targetname="frm_ReportParameter" ibif_ex="launch_recent_detail.htm" activereport="0" reportcolumns="" ibiapp_app="chemomenu baseapp">
</request>
</requests>
</rootxmlnode>
</script>
</xml></BODY></HTML>
WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010
IP
Virtuoso quote:
Originally posted by George Patton:
-IF &PASSWORD EQ 'abcdef' GOTO MANAGEMENT ELSE GOTO MAINMENU;
...
-DONE
A string literal was expected, but no opening quote character was found. Error processing resource 'http://10.11.12.5/ibi_a...
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
---------^
This suggests there's something before the code that you've shown us that tells the browser this document is XML. Your HTMLFORMs actually return HTML, which isn't necessarily XML compliant (the stuff IBI generates certainly isn't).
quote:
Originally posted by George Patton: The documentation suggests that 8 characters is the max under Unix. Is this true under Linux too?)
If anything, that's not likely to be a limitation in UNIX (or Linux), but one of those pesky limitations in WebFOCUS. If it is the former, we're talking about UNIXes of about 15-20 years ago, although I won't claim I know them all.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010
IP
Master All the code here, apart from the FEX was generated with Dev Studio 7611.
CHEMOMAIN.HTM is the general menu for all users.
LAUNCH_MGT_REPORT_PASSWORD.HTM is called directly from a link in CHEMOMAIN.HTM
Clicking the Run button in LAUNCH_MGT_REPORT_PASSWORD.HTM activates the little FEX to
choose the appropriate menu. If the password is correct, it runs LAUNCH_MGT_CONSOLE.HTM
As I mentioned, this works fine in Windoze, but not under Linux. The code I posted is the
pre-deploy version.
WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010
IP
Expert George,
HTMLFORM is usually coded without the file suffix:
-HTMLFORM LAUNCH_MGT_CONSOLE I think the filename must be in uppercase in the FEX, but the name itself must be lower-case. I am surprised about the 8 character limitation, but I would set up a simple test - create one fex that has a HTMLFORM pointing to a htm file with an 8 character name and another fex that has a HTMLFORM pointing to a htm file with a 9 character name...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005
IP
Master I copied the CHEMOMAIN and LAUNCH_MGT_CONSOLE HTML files and shortened the names to MAIN1 and MGT respectively and then removed the .HTM from the calling lines in the FEX.
No joy - but a different error message (the files are in the same directory as the FEX):
(FOC36223) FILENAME MGT SPECIFIED BY -HTMLFORM COULD NOT BE FOUND
Resolving this is one thing, but why the dot mask isn't working for the password is another problem - and maybe somehow related because the original code works fine under Windows.
I'm not crazy about using the FEX to switch forms, but I don't know any better way. Suggestions are welcome!
WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010
IP
Expert One thing none of us thought about: the htm files MUST be in the Application path, not on the web server. These two locations ARE and ARE NOT the same - depending on if you have a multi-tier environment. For testing purposes, put them in the same Application folder as the fex itself.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005
IP
Please Wait. Your request is being processed...
Read-Only TopicCopyright © 1996-2020 Information Builders