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 wrote two procedures, both using the same amper variable, and placed them on one html page. I have text box, where where user would enter the value for the amper. Currently, they have to click on a submit button to trigger the procedures. How can I change that for the enter key to trigger the procedures? Thanks!This message has been edited. Last edited by: Kerry,
WebFOCUS 768 OS/400 HTML, also quite a few active reports and excel.
It is actually Javascript and you might be surprised at the cool things you can do with it. Just grab a good book or Google it; there are tons of material and great examples; you may find that it is not that difficult after all.
I used Dev Studio HTML Layout Painter (ugh!) to create a page that has two reports embedded in it, both using the same parameter.
It automatically added the parameter as a text box, along with a Submit button and a Reset button. When I run this HTML page, I enter something in the parameter text box and click on the submit button - only one of the embedded reports runs. Alternatively, I can enter something in the text-box and press Enter - the page behaves the same way - it runs only one of the two reports.
Regarding the problem you're having Amber, it appears you can have the Enter key trigger the procedure. This seems to be default behaviour - at least with an HTML page that has a form on it.
If anyone can tell me how to get the HTML Layout Painter (ugh!) to launch both reports upon Submit I'd be a happy man.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
One of the things to remember with "press enter for form submission" is that it depends upon what type of form control has focus when you hit enter. If it is anything (just about) other than a combo box then form submission should occur. However, if the focus is on a combo box then, in I.E. at least, the form will not submit on pressing the enter key.
As for submitting two (or more requests), in theory at least, you should be able to achieve this via a javascript function easily enough, but you would have to intercept the form submission by adding the onSubmit event redirection within the Submit button.
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
Francis, To trigger multiple procedures on one submit click, make use of hyperlink properties of the button control in HTML Layout painter. That allows to link to multiple procedures, which executes in parallel and displays the result in different frames or even in multiple windows.This message has been edited. Last edited by: Ram Prasad E,