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 an amper from a fex to a html form

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Passing an amper from a fex to a html form
 Login/Join
 
Member
posted
I have an html form that calls a fex to populate a frame. The fex uses a date from the Calendar function of the html form to obtain the data. This date is also a part of the table name and is always a Saturday date. The fex checks the date passed and changes is to the nearest Saturday. I want to pass the altered date back to the html page and replace the original calendar date with the altered date.

I've tried the value=!IBI.AMP.RPT_DATE; in the html form but that isn't working. Does anyone have a solution. I was thinking I could do it with javascript.
 
Posts: 13 | Location: Los Angeles, Ca | Registered: November 08, 2005Report This Post
Platinum Member
posted Hide Post
value="!IBI.AMP.TO_DATE ;" worked for me. just had to call or load the html page again


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
Member
posted Hide Post
The only problem with that is the fex is also autoloaded in a frame. The fex that is being called can be reloaded after reselecting the run date and pressing the run button. Reloading the html page causes the routine to go into an endless loop.
 
Posts: 13 | Location: Los Angeles, Ca | Registered: November 08, 2005Report This Post
Expert
posted Hide Post
Bob,

What you are trying to do is to run a server side script (the fex) to return a value to the client side process. Unless you use something like activeX (how IB action chained combos) then you would be better off keeping your function within the client browser by using, as you suggested, JavaScript.

Search Google for JavaScript date handling.

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, 2004Report This Post
Guru
posted Hide Post
Bob: You can use AJAX, to your fex, to refresh part of the html page without reloading the entire page. It's more advanced javascript but a very nice, user friendly approach, imho.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 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 an amper from a fex to a html form

Copyright © 1996-2020 Information Builders