Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Calling HTML page From an HTML page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Calling HTML page From an HTML page
 Login/Join
 
Member
posted
Hi, In my application i have an HTML page with some buttons, When the user clicks on any of the buttons, control should be directed to an HTML page where the user will make some selections and call a .FEX file.
How can i call an HTML page From an HTML page.. PLs help me...

Regards,
Balaji
 
Posts: 24 | Registered: October 05, 2006Report This Post
Platinum Member
posted Hide Post
Balaji :
It would sure help to answer such Qs if you would please update your signature with your site platform, version, etc.

Assuming that you are talking about WF fexes in the MRE, following explains how you can setup a chain of launch pages before the final report fex. Please note that you can..
>> Call a html page from inside a fex by using
-HTMLFORM htmname
>> Or embed HTML code in line like this....
-*
-* (focus code here, if any)
-*
-HTMLFORM BEGIN
<HTML><HEAD>
...... (html code here)
</HTML>
-HTMLFORM END
-*
-*
Now back to your original Q, this is what you need to have in HTML page-1
-*
<HTML>
<HEAD>
<TITLE> Reports</TITLE>
<script language="javascript">
< !--
//*** JavaScript to enable program submission
function runfex(fex, parm) {
document.Form1.IBIF_ex.value = fex ;
document.Form1.IBIMR_fex.value = fex ;
document.Form1.PCPARM.value = parm ;
document.Form1.submit();
}
//-->
</script>
</HEAD>
<BODY>
<FORM ACTION="/ibi_apps/WFServlet" METHOD="POST" name="Form1">
.....
.....
<INPUT name=WHCHRPT type=radio value="O"
onClick="javascript:runfex('app/fex2.fex','parmvalue');">
selection-1-button
<input type='hidden' name='IBIMR_domain' value='domname/domname.htm'>
<input type='hidden' name='IBIMR_folder' value='#foldrnme'>
<input type='hidden' name='IBIMR_action' value='MR_RUN_FEX'>
<input type='hidden' name='IBIMR_sub_action' value='MR_STD_REPORT'>
<input type="hidden" name="IBIF_ex" value="">
<input type='hidden' name='IBIMR_fex' value="">
<input type="hidden" name="PCPARM" value="">
</FORM></BODY></HTML>
-*
-*
The called fex-2 can again have embedded HTML code with a similar Form submission. It can then call the final program to generate the report or call another launch page that will in turn execute the final report.

Hope that helps.
Sandeep Mamidenna


-------------------------------------------------------------------------------------------------
Blue Cross & Blue Shield of MS
WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
 
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Calling HTML page From an HTML page

Copyright © 1996-2020 Information Builders