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.
A variable can be passed from an HTML page by using one of many FORM tags. These can be INPUT, SELECT, BUTTON etc. These tags are assigned an attribute called "name" and this attributes value is the resultant WebFOCUS variable name.
So, for instance, you might want to pass a variable called "MyVar" from your HTML page as a fixed value of 999. To achieve this you would probably use an INPUT TAG and the basic requirements would be -
<INPUT name=MyVar type=hidden value=999>
When your HTML page is actioned a variable in the URL (if the form method is GET) will be seen as
&MyVar=999
.
Of course this info is very brief and should you want to find out more then I would suggest checking out one of the many HTML tutorial sites that keep emerging, specifically in the region of FORM submission.
Good luck.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Newtofocus, When you use an HTML form the variable values from the HTML objects are automatically sent to the fex as &variables. For example, a value from a drop down box selected by the user becomes a variable in your fex with the same name as the HTML object. You can send non-user selected variables using the input type in HTML. You can also build urls like Nightowl does, and the variable values can be changed at run time by using javascript (or other scripting language).
NewTo... do you have MRE? the simplest way to begin creating an html launch page might be for you to do use the PUBLISH button in MRE. it takes all your parameters requried by your fex and puts them in to a default html launch page. you can then open that html page in whatever editor you like (front page, dreamweaver, notepad ) and tinker with it to make it suit you. If you are in win2k, say, and your fexes are on your edapath/apppath, then a default FORM on an html launch page could look like this:
<FORM name='form' action="http://grwf01/cgi-bin/ibi_cgi/webapi.dll" TARGET='main' method='get' >
<INPUT TYPE="hidden" name="MYPARM1" value = "MYVALUE1">
<input type="hidden" name="IBIF_ex" value="FEXNAME">
...and if you're using iwa, then
<input type="hidden" name="USER" value="<%= request.servervariables("LOGON_USER") %>">
...now all your parms
<input type=text name=MYPARM2 ...>
<SELECT>...etc
</SELECT>
</form>