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     Passing Parameters from one HTML Page to another HTML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Passing Parameters from one HTML Page to another HTML
 Login/Join
 
Gold member
posted
Hi,

I'm using Web focus Developer Studio version 7.1 .I need to pass a parameter(user entered value in the text box) from one HTML file(HTML FILE 1) to another HTML file(HTML FILE 2 ,containing multiple fex files ).I am able to pass the parameter from a text box to a single fex file using Hyperlink Property of HTML Layout painter(by linking to that External Procedure).But when i try to link (HTML FILE 2) and pass the parameter value from the text box of HTML File 1,its throwing an error FOC295(A value missing for that parameter value).

When i have gone through the discussion forums,I am able to see that the parameter passing b/w HTML Pages is acheivable using Hidden variable.Can anyone please let me know how i can create this Hidden variable and pass it from one HTML page to another.Any help in this regard is highly appreciable.


Thanks

Prasanna
 
Posts: 80 | Registered: March 21, 2007Report This Post
Member
posted Hide Post
prasanna,

you can use the following method to pass the variable between html's

< INPUT TYPE="HIDDEN" NAME="VARIABLENAME" VALUE="PLACE YOU VALUE HERE" >

for example

< INPUT TYPE="HIDDEN" NAME="VAR_sample" VALUE="100" >

where VAR_sample is the variable name and 100 is the value assigned to it
 
Posts: 23 | Registered: April 20, 2007Report This Post
Gold member
posted Hide Post
Thanks Kummy.But my actual requirement is to get the value which is entered in the text box of HTML File1 and pass the same to the HTML File2 having multiple fex files. The captured value is then passed as a parameter to the WHERE condition of the FEX files in HTML File2.

Using query string and javascript, i could able to pass the value from one HTML to the second HTML. But couldnt pass this as a parameter to the FEX file.

Is there any other way to implement this using webfocus functionality? Any suggestion or help will be highly appreciated.


Thanks
Prasanna
 
Posts: 80 | Registered: March 21, 2007Report This Post
Platinum Member
posted Hide Post
I may not understand what you need exactly, but WebFOCUS has two types of parameters. The first are parameters that only apply to the FEX that is called. These are &value parameters.
The second type of parameters persist from one drill-down report to another in a chain of drill-downs. These are &&value parameters. So, in the first HTML page you pick up some value as an &&value. Then in all subsequent drill-down FEX's you can use &&value.


Release 7.6.9
Windows
HTML
 
Posts: 226 | Registered: June 08, 2003Report This Post
Silver Member
posted Hide Post
I think i know what you mean.
Any variable that you pass to go to another page is stored as an amper variable in webfocus.
so to access the variable just give it the name of your text field as &textfieldname

so for
input type="text" name="MYVAR" />

your webfocus variable would be
&MYVAR
 
Posts: 38 | Registered: October 10, 2006Report 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     Passing Parameters from one HTML Page to another HTML

Copyright © 1996-2020 Information Builders