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.
Currently the reports in this company all display in an inline frame within the launch page. This is very limiting. I would like to give the users a choice of having the reports display in either the inline frame or in a separate window.
Can this be done without JavaScript?
There are no JavaScript coders here, so if it can only be done with JavaScript, I would appreciate it if the JavaScript code would be posted here.
Thank you,
JohnThis message has been edited. Last edited by: Kerry,
WF 7.7.03, Windows 7, HTML, Excel, PDF
Posts: 225 | Location: San Francisco Bay Area, California | Registered: October 26, 2006
I'm not going to discuss whether or not this is a good idea - I'm sure someone else will, I'm going to provide a possible solution.
The form target attribute specifies where the form result will go. You can alter this using JavaScript, based on the selection in a form object like a radio button or a select list.
You would add a form object where the user selects the output destination - the inline frame, a new window or a named window. (If a new window is selected, the form will always open a new window; if a named window is selected, the form will open a new named window if it doesn't exist - if it does exist, the form result goes in the already opened window).
You would then add execution of a JavaScript function to the form using the onSubmit attribute.
Add the function to the HTML page, before the body tag.