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 an HTML page with a single checkbox control. The values are dynamically populated using the car field in the car file. After the user checks the desired boxes, they push a button which runs a fex that writes the checked values to a hold file on the server. The next time the HTML page opens, I want it to read the values of that file and put a check mark in the boxes that have a matching value.
So, if they choose Audi and Maserati, the next time the page opens, those two values will be checked and all the other fields will be unchecked.
I unfortunatelly do not have any java experience. I have been looking for the answer but have yet to find it. Please help.This message has been edited. Last edited by: <Kathryn Henning>,
the approach you can take is... the htm file (the launch page) is actually going to be called within a fex. The fex can read whatever, do whatever you need to do, then pass variables to its own embedded .htm ok so... TABLE FILE CAR... do some things END -RUN .* now create some &vars from the results of your fex bits
-HTMLFORM BEGIN (paste your launch page in here
-HTMLFORM END
-*... now, you save this thing as a .fex, not as a .htm anymore. you use !IBI.FIL.filename; to insert, say, a dropdown list you've created. you use !IBI.AMP.varname; to insert an amper var you've just created. these things, the !IBI. (its read as bang ibi file, or bang ibi amp) are wicked cool features and standard way of doing things. Have a go. and i see this is your first post, welcome
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Thanks Susannah. I will give it a shot. Although this is my first post, I have been working with WebFOCUS for many years. First time it has stumped me.........
I have two questions on this. The first is: I have a table that has captured all of the values that the user selects. How can I read all of these values so it can auto-populate all the checkboxes it is supposed to? Then, how do I get the checkboxes populated. Below is the code I have thus far where hold_car_test is the table that holds the user selected values:
TABLE FILE HOLD_CAR_TEST PRINT CAR ON TABLE HOLD AS A1 FORMAT ALPHA END
HtmlPage <script id=clientEventHandlersJS type=text/javascript> //Begin function window_onload function window_onload() {
UpdateData();
// TODO: Add your event handler code here //add onInitialUpdate() function to make changes before initial run of the reports } //End function window_onload
//Begin function button1_onclick function button1_onclick(ctrl) { // TODO: Add your event handler code here OnExecute(ctrl) } //End function button1_onclick
//Begin function button1_onclick function button1_onclick(ctrl) { // TODO: Add your event handler code here OnExecute(ctrl) } //End function button1_onclick