Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Auto execute when value changed in dropdown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Auto execute when value changed in dropdown
 Login/Join
 
Member
posted
Hello,

From w/in an HTML page, when I user makes a change in a dropdown box from 2008 to 2012, I'd like to have the graph auto execute *without* having to click on the play/submit button.

I looked in the Properties and the Properties & Settings for the combobox, but I diddn't see an option for auto execute, am I looking at the wrong place?

How can I accomplish the auto execute the graph when only using the dropdown menu?

Thank you in advance,
Kim

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Member
posted Hide Post
Hello, one additional piece of information. The graph was created in Advanced Graph Assistant and I don't have a Parameter page to help w/auto execute as recommended from this posting:

http://forums.informationbuild...1057331/m/1617082316

Thanks,
Kim


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Guru
posted Hide Post
If you are using release 769 or higher, you can go to the Parameters tab and drag the graph frame from the Thumbnails pane put onto the canvas, then bind the dropdown to the graph frame. This creates an onChange/execute action.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
<Emily Duensing>
posted
I believe you can use a javascript event of onchange (?) and when the value changes in that control, then you code the javascript event to execute the procedure.

I am going totally from memory here, so I could be way off base... but look into the Javascript events on the Javascript tab (same area as Properties)
 
Report This Post
Member
posted Hide Post
Hi David,

That's the problem, I created this in Advance Graph Assistant, there is no Parameters tab -- or am I not looking in the right place?

Thanks,
Kim

quote:
Originally posted by Kim at USF:
Hello, one additional piece of information. The graph was created in Advanced Graph Assistant and I don't have a Parameter page to help w/auto execute as recommended from this posting:

http://forums.informationbuild...1057331/m/1617082316

Thanks,
Kim


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Member
posted Hide Post
Thank you Emily,

I tried to use the recommendation I found off of this link, but it didn't seem to work

http://forums.informationbuild...71057331/m/183100541

//Begin function combobox1_onchange
function combobox1_onchange(ctrl) {
OnExecute(sub_button)

}
//End function combobox1_onchange


I'd like to avoid using js, but I will give that a try too. I just thought it would be easier using WF built-in.

Thanks,
Kim


quote:
Originally posted by David Glick:
If you are using release 769 or higher, you can go to the Parameters tab and drag the graph frame from the Thumbnails pane put onto the canvas, then bind the dropdown to the graph frame. This creates an onChange/execute action.


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
quote:
I created this in Advance Graph Assistant, there is no Parameters tab

Hi Kim,

What David means is not in the graph assisitant dialog, but the HTML page dialog (or GUI).

When you have the HTML compser displayed, you have three tabs at the bottom left - Design, Parameters, HTML.

In the Design tab, you should have your combo box and your graph? Goto the Parameters tab and you will see the combo shown in the left hand pane and an icon on the right representing the graph. Click on the graph and drag it into the area with the combo and then click on the combo and drag it over the graph in the left hand pane. This will show an arrow from the combo to the graph showing that they are bound and changes to the combo should be reflected in the graph providing the graph and combo variable names reflect one another.

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, 2004Report This Post
Member
posted Hide Post
OMG - Thank you Tony A for clarifying and thank you David Glick for your great solution.

That totally worked!

Cheers,
Kim


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Guru
posted Hide Post
Kim,

The Parameters tab is in HTML Composer. You do this in that area.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Guru
posted Hide Post
Kim,

That is great news. Glad to help.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Guru
posted Hide Post
Thanks David for your tip, I never knew this Good One


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Auto execute when value changed in dropdown

Copyright © 1996-2020 Information Builders