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 am trying to load an HTML page which has a list box. Since the values in list are hard coded I am creating the
but after running the html it was not coming highlighted and when I did a view source I could see the statement as it is i.e. !IBI.AMP.V_SEL; did not get replaced with 'selected'.
CD have never known an !IBI.AMP.var; to fail, so have to check the real basics.
When you say you are loading an HTML page, you do mean with -HTMLFORM in a fex? If the &var has not been set you would, at least, expect a couple FOC error messages.
Or this could happen if you use -SET &select='!IBI.AMP.select;'; in your code.
Apart from that I can't think.
BTW, if you want to display HTML, select the Options link and tick Disable HTML. <option value = "abc" selected> "abc" </option>
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
I am setting the variable in a Fex file (which then calls the HTML file) and using that &variable in html using !IBI.AMP.VARNAME;
This variable is basically used to write the word 'selected' in the option tag. But the code !IBI.AMP.VARNAME; is not replacing itself with 'selected' when fex calls the html.
I know this can be handled through Javascript but using & var is easier I guess.
CD Had a check this morning and can find nothing to stop an &variable being evaluated with !IBI.AMP.var; as long as the HTML page is directly passed through WebFOCUS with -HTMLFORM.
Can you provide an extract of your code.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007