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.
But when i run this HTML which calls a particular .fex file, i get the followign errors: (FOC160) THE OPTION AFTER THE WORD 'FORMAT' IS INVALID: ON (FOC009) INCOMPLETE REQUEST STATEMENT (FOC009) INCOMPLETE REQUEST STATEMENT (FOC3280) TABLASTPAGE CAN ONLY BE USED WITH STYLED OUTPUT FORMATS
and i have given -TYPE RPTFMT = &RPTFMT to check the value and im surprised that it is empty!!. In the javascript when i alert the same, I get the selected value but not sure why after submit it is empty. I am pretty new to UI calls to Procedure although find that it is close to any UI calls. Any help on this would be great. Thanks in advanceThis message has been edited. Last edited by: Kerry,
cant really see your code. If you use the HTML composer, these things are handled for you. Make sure your capitalization is correct and is the control in the FORM you are usinbg with a submit button. Turn on traces or an HTTP tracer so you can see the HTTP request that got to the servlet, did it have what you expect?
Brian Suter VP WebFOCUS Product Development
Posts: 200 | Location: NYC | Registered: January 02, 2007
I have checked my capitalization as well, and they seem to be the same. Below is the exact code < !-- -->
function button1_OnClick(ctrl) { var e = document.getElementById("combobox1") var fmt = e.options[e.selectedIndex].value alert("fmt="+fmt) alert(document.forms[0].RPTFMT.value) document.forms[0].submit() OnExecute(ctrl) }
One moer strange thing that i noted was I jus could not find the request parameters being passed in the URL, could this be something with the settings? Im confused, because the format is displayed in the alert before form.submit....but not sure where it is getting lost
You should put your code between [ CODE][ /CODE] tags (without the spaces)
Also, I'm pretty sure Javascript requires lines to be terminated with a semi-colon (';').
Also, your onchange event has a syntax error:
onchange=combobox1_onchange[this)
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Thanks for the responses, @ Kamesh: Im calling the fex through the onclick event of the button. I have actually tied the fex call while creating the button.
@Wep5622: But Im able to execute the scripts without any error, although i havent included a ';' The onchange event was generated dynamically when i created the combo using HTML Composer, so not sure if that is the cause.