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.
I'm creating an html search page with numerous parameters. One of them is "Author". What I want to do is have the user click a button next to the Author field which will open a pop-up window. They will be presented with text boxes for Name: and Org:. They will enter their search criteria and click submit. Their results will be returned in a select list. After making a selection, this value will be returned to the main html page and the pop-up window closes. Has anyone created anything similar? Any help would be greatly appreciated.
I have done this before and it is pretty simple. What you need to do is add an action to the html page that contains the select box that performs a "window.opener.document.formname.objectname.value=value_selected_in_the_dropdown;". I assume the popup window is being opened with a "window.open();" command. Use the code pieces below to setup two HTML pages that demonstrate the technique.
Parent Page Code:
Create a parent page that performs an on click method using a input box with a type of button to open a page called popupbox.htm. The parent page should contain a FORM called "FEXTEST" with an INPUT box with the name of "getit".
on click = window.open("popupbox.htm")
PopUpBox Page Code:
<select name=thelist> <option value="The First One">One</option> <option value="The Second One">Two</option> <option value="The Third One">Three</option> </select> <INPUT name=submit type=button value="OK" on click = "window.opener.document.FEXTEST.getit.value=thelist.value;">
You can also add a self.close(); statement in the on click method so the popupbox page closes after "sending" the value to the parent page.
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003