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.
i have four Dropdowns Begin Month, Begin Year, End Month and End Year. the Amper Varibles in the FEX are &BEG_MO,&BEG_YR,&END_MO and &END_YR. i need to create a HTML Page with these 4 dropdowns and to load all these dropdowns from two HOLD files named MONTH and YEAR. give me a javascript functionality to achive this.
i want to call this HTML page by using anothe fex like *********calling FEX*********************************************** FILEDEF MONTHS DISK /apps/webfocus/adhoc/ibi/gtapps//months.ftm FILEDEF YEARS DISK /apps/webfocus/adhoc/ibi/gtapps//years.ftm
As you are using the HTMLFORM syntax and providing the contents of your ftm files are along the lines of
<option value='something'>Pick something
with or without the surrounding SELECT tag pairing, then you can just include your code at the required place by using !IBI.FIL.MONTHS; where the plink (!) and the semi-colon are required syntax.
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
Hi Ineed a dropdowns in my HTML Page, i know the usage of !IBI.FIL.filename
i need a some javacode to achive this by using above function. i need put three dropdowns on my HTML page and fill these dropdowns by using that ftm files.
thanks
Thanks, Kalyan.S ------------------------------------ WebFOCUS 7.1.4, Win XP SP2, Oracle8i. ------------------------------------
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006
Are you using the HTMLFORM syntax for your HTML page? If not but you are using WebFOCUS to build and run the THML page, then you should use the inbuilt ability for populating combos from Master files or Fex files. See other posts on the subject.
If you are using just straight HTML then you could convert to an ASP file and use the ability to INCLUDE "text" files at the required point.
If you really must use a JS function, then you could call a WebFOCUS process (or similar) and provide a return of an XML file and then parse that XML file to load your combo. But that would be re-inventing the wheel, so to speak, because that is the way IB do it within the ibirls.js file.
You need to be more precise on how you intend to execute this web page, where it will be contained (within WebFOCUS folders?) etc. etc. etc.
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
One of our internal people reviewed this topic and suggested that you should be using the HTML Layout Painter. By using the HTML Layout Painter, drop downs can be loaded by using dynamic procedures. Those procedures can be pointed to any Master file. Here is the documentation that goes over this:
Developing Reporting Applications With Graphical Tools 7.1, DN: 4500724.0905 Chapter 5: Designing a User Interface for a Web Application With the HTML Layout Painter Section: Using Forms to Supply Parameter Values Subsection: Filtering Dynamic Parameter Values Subsection: Customizing Dynamic Parameters Page: 5-54 (180)
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
*********calling FEX*********************************************** FILEDEF MONTHS DISK /apps/webfocus/adhoc/ibi/gtapps//months.ftm FILEDEF YEARS DISK /apps/webfocus/adhoc/ibi/gtapps//years.ftm
-HTMLFORM htmlpagename ********************************END******************************** the FTM file having array as options tag.
Thanks Tony.
Thanks, Kalyan.S ------------------------------------ WebFOCUS 7.1.4, Win XP SP2, Oracle8i. ------------------------------------
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006