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     [CLOSED] JavaScripting in HTML page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] JavaScripting in HTML page
 Login/Join
 
Gold member
posted
I'm not sure how this issue can be put across, i'm trying my best to give a clear picture of it here.
I have a HMTL page designed in a HTML layout painter which has got a text box a find button and a list box
The requirement is that, on page load the list box should not show up any data
The text box takes an input string and on pressing the find button the input from the textbox should go to a fex file and the results from the fex file should be displayed in the list box.

The Page Structure is some thing like this.

[TextBox] -----> [FindButton]
|
|
|
v
{ListBox with results]

How can this be achieved, can anyone help me out on this??

This message has been edited. Last edited by: Kerry,


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Silver Member
posted Hide Post
You could request the data (call the report) with an httprequest-object.
You will receive the generated data an can then react to it (show the data in the textbox).


WF 7.6.6 (MRE,BID, DevStudio, partly RC) on Windows 2003 /Apache/Tomcat
Output: HTML,Excel,PDF,PPT
Adapters: SQL Server, DB2, Oracle
 
Posts: 38 | Location: Austria, Linz | Registered: June 19, 2009Report This Post
Member
posted Hide Post
We do this alot in 7.6.4, but I'm not sure if 7.1.1 has the chaining feature with cacheruntimedata="0". If it does then create a nothing.fex (an empty fex) for the text box and the regular fex for the drop down that accepts the parameter from the text box. Put the two in a chain ( Text box (1) drop down (2) ), and set the cacheruntimedata="0". Create a onClick event for the button and add the DoResetDownChainControls(document.getElementById("cntrl")) function. This will start the chain at the next one in line from where it is called. In this case the text box. Text box default "id" and "name" is edit1.

 
function button1_onClick(cntrl){
	DoResetDownChainControls(document.getElementById("edit1"));
}


wf: 7.6.4
App. and reporting server: UNIX/AIX 5.3
 
Posts: 20 | Registered: June 01, 2007Report 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     [CLOSED] JavaScripting in HTML page

Copyright © 1996-2020 Information Builders