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     [SOLVED] Linking the launch page through a button in MRE is not working

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Linking the launch page through a button in MRE is not working
 Login/Join
 
Member
posted
Hi,
I'm having one launch page in MRE.From this launch page I have to move drilldowns(1,2).From drilldown2 i want to switch to launch page.For this i want to create a Button in that drilldown2.I tried with following code but the link(link with lanch file) is not working.

Code:
-HTMLFORM BEGIN


INPUT TYPE="button" VALUE="HOME" NAME="HOME" onClick="home.html"

-HTMLFORM END

Thanks in advance.
Note:Since i was unable to display the code for INPUT tag i have removed the tag < >.

WF Production Version: WebFOCUS 7.6.1
WF Test Version : WebFOCUS 7.6.4
Operating System : Windows xp
Output format : Excel, PDF, HTML, AHTML, PPT,

This message has been edited. Last edited by: Kerry,
 
Posts: 12 | Registered: July 01, 2008Report This Post
Virtuoso
posted Hide Post
Dear J.

If you put your code between the code tags (the red right button on top of this input form) you can post codes in this text.

If you create a screen print and post it as an image it might help us better to understand your question.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
onClick="home.html"
is incorrect HTML/JavaScript syntax. The correct syntax is:

onClick="self.location.href='xxx.html';"
Depending on the location of the page you're linking to, you also have to specify the path of the file. e.g., if the file is in an application folder:
onClick="self.location.href='/approot/ibisamp/test2.html';"


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, 2005Report This Post
Member
posted Hide Post
Hi Francis Mariani,
Thanks for your reply.Its working fine.



WF Production Version: WebFOCUS 7.6.1
WF Test Version : WebFOCUS 7.6.4
Operating System : Windows xp
Output format : Excel, PDF, HTML, AHTML, PPT

This message has been edited. Last edited by: Janakiraman,
 
Posts: 12 | Registered: July 01, 2008Report This Post
Member
posted Hide Post
Hi Francis Mariani,
Actually your suggestion worked fine, but I moved HTML file is into MRE domain as per the requirement. How can I specify the path for button(onClick) in MRE which is suppose to call the HTML file.


Any suggestions. Thanks in advance


WF Production Version: WebFOCUS 7.6.1
WF Test Version : WebFOCUS 7.6.4
Operating System : Windows xp
Output format : Excel, PDF, HTML, AHTML, PPT
 
Posts: 12 | Registered: July 01, 2008Report This Post
<Shyam L>
posted
Janakiraman,
You need not necessarily move your html to MRE, instead you can create an URL link to your HTML file in MRE and accomplish the same.

Thanks,
Shyam L
 
Report This Post
Member
posted Hide Post
Hi Shyam,
Thanks for your reply. I tried with the link in HTML LAYOUT PAINTER that is working fine, but I need the onclick code between -HTMLFORM BEGIN and -HTMLFORM END.

In HTML LAYOUT PAINTER for this click event it generates the request list but how can I implement it in between -HTMLFORM BEGIN and -HTMLFORM END

Any suggestions. Thanks in advance.

WF Production Version: WebFOCUS 7.6.1
WF Test Version : WebFOCUS 7.6.4
Operating System : Windows xp
Output format : Excel, PDF, HTML, AHTML, PPT

This message has been edited. Last edited by: Janakiraman,
 
Posts: 12 | Registered: July 01, 2008Report This Post
<Shyam L>
posted
Janakiraman,
You can use the form tag in html code and in onsubmit event of this tag you can invoke the required fex.

Thanks,
Shyam L
 
Report This Post
Member
posted Hide Post
Hi Shyam,
Can u give an example code for calling an HTML file in MRE through a button onclick event located in HTMLFORM.

Thanks in advance.


WF Production Version: WebFOCUS 7.6.1
WF Test Version : WebFOCUS 7.6.4
Operating System : Windows xp
Output format : Excel, PDF, HTML, AHTML, PPT
 
Posts: 12 | Registered: July 01, 2008Report This Post
Guru
posted Hide Post
now i don't know the code off the top of my head but if i had to guess i'd say it would involve changing the syntax of the onclick event to point to the MRE html page-

as you will have the addresses of these pages to hand you are probably better off just trying to amend the onclick event yourself- just get it to trigger the MRE html page instead of whatever one it is triggering at the moment...

i reckon you could work it out from an existing onclick event if you had a look


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
<Shyam L>
posted
Try whether you can make use of this code in your case
 
<FORM onsubmit="return test();" action="/ibi_apps/WFServlet" METHOD="POST" NAME="frm1" TARGET=_target > 
<input type="hidden" name="IBIF_ex" value="urfex">
<input type="hidden" name="IBIC_server" value="EDASERVE">
<INPUT type=hidden id=id1 name=id1>
<INPUT type=submit value="View Report" id=submit name=submit style="cursor: hand; color: #FFFFFF; font-weight: bold; border: 1px groove #005B00; background-color: #759F13; width:365;">


This snippet you need to include in your code at relevant places.
On click of button, the fex mentioned in the hidden variable will be called and other hidden variable values will be passed to the called fex.
 
Report 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     [SOLVED] Linking the launch page through a button in MRE is not working

Copyright © 1996-2020 Information Builders