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] WF Maintain -- Can anyone make TAKES work with IWCTrigger?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] WF Maintain -- Can anyone make TAKES work with IWCTrigger?
 Login/Join
 
Virtuoso
posted
Just curious if anyone can make the Takes paramters work with and IWCTrigger call in Maintain (I'm on 7.7.03 right now). I've given up and I'm just using global variables because, frankly, it's not worth the time to get it to play nice. I'm just curious to know if anyone else is running into the same barrier. It seems like it should be simple and there's a pretty clear example in the manual that doesn't seem to do what it says it does.

J.

This message has been edited. Last edited by: <Kathryn Henning>,



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
Hi John

My understanding is that TAKES only works within the Maintain, From the docs I see:
quote:
If the function is the Top function or is being used as an event handler, it cannot take parameters.


IWCTrigger is an event handler. I would use GetHTMLField if I needed something not already passed across.

Did you see something different?


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
I read that differently. I read that to mean the case being called can't be the trigger handler itself. This is a case in the main body of source code being called from an IWCTrigger function in a javascript trigger. The IWCTrigger spec even shows how to put additional parameters onto it.

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
Ahhhh. We learn something new everyday John.

function OnButton1_Click ( )  {
var param = "this is my life";
alert(param);
IWCTrigger("WhooHoo",param);
}


In the Maintain:
.
Case WhooHoo
calledParameter/a0 = Form1.triggervalue;
.

Takes will stop the case working from IWCTrigger.
'mazing.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report 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] WF Maintain -- Can anyone make TAKES work with IWCTrigger?

Copyright © 1996-2020 Information Builders