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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Ajax & WebFOCUS...
 Login/Join
 
<Shane>
posted
Just out of curiosity, has anyone successfully used WebFOCUS for any Ajax functionality? If so, could you please post some example code?

Shane
 
Report This Post
Virtuoso
posted Hide Post
Ajax is the backbone of many WF processes, it can also be incorporated in many other places as it is only a javascript. I use it all over the place.

What are you trying to achieve in which component?

There are already examples of Ajax calls within this forum though.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
<Shane>
posted
Alan,

I'm not trying to accomplish anything in particular. I was just curious if it could be done. I've done it many times using RPG. Just didn't know how the fex would look. I'll do a bit of searching.

Shane
 
Report This Post
Platinum Member
posted Hide Post
Definitely used it quite a few times in various places. I had some auto retrieving divs that produced market prices -- each of those divs were draggable, resizable, and they had their own ajax routine to populate them.

I've also used ajax to retrieve dropdowns in various places for various reasons. I've also used ajax to handle unique drill-downs or to perform background processing, etc.

Definitely do a search on this forum though because I think there are several examples. Really the main thing you have to deal with is figuring out exactly what url to pass to the ajax component -- once you figure that out (which isn't hard) you open up a world of possibilities.

Good luck.



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Platinum Member
posted Hide Post
The fexs look like most fexs ... AJAX is implemented in JS. Typically, if you want data back into JS, your fex would do a PCHOLD FORMAT XML. Other formats are acceptable - your fex can even return hunks of fornated HTML which are then written to the browser window by your JS code.


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders