Focal Point
[CLOSED] JavaScripting in HTML page

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/736109761

July 01, 2009, 02:31 AM
saggy
[CLOSED] JavaScripting in HTML page
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


July 01, 2009, 04:32 AM
Computix
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
July 01, 2009, 06:00 PM
dcj
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