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 !!