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     passing variable in HTML through push-buttons

Read-Only Read-Only Topic
Go
Search
Notify
Tools
passing variable in HTML through push-buttons
 Login/Join
 
Member
posted
Has anyone passed an &variable in HTML through the push-buttons? Do you use an onclick event? We have no idea how to create an &var that WebFocus will understand. There is no 'input' statement to use, only the 'request' statement.
 
Posts: 8 | Location: Minneapolis, MN | Registered: July 27, 2004Report This Post
Expert
posted Hide Post
Are you calling WebFOCUS from a form action? If so, all the parameters in the form - input boxes, select boxes, radio buttons, etc will be passed as &variables to WebFOCUS. What exactly are you trying to do?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
<JJI>
posted
Fnu,

If you're using a form action it's like Francis said. Alle objects will be passed as &vars to WF. If you're not using a formaction, you can still use a java script on an onclick event and pass the request together with the variable to WF.

Regards,
 
Report This Post
Member
posted Hide Post
We are not using forms. We are submitting the request thru

There is an onclick, but I have no idea what to put in it so that WebFocus will recognize an &var. Normally, it would be in an statement with the Servlet.
 
Posts: 8 | Location: Minneapolis, MN | Registered: July 27, 2004Report This Post
Platinum Member
posted Hide Post
Fnu :
Even if there are no data entry/selection options on your screen, you can always pass static data variables from a HTML screen by using



In more complex situations where the value is determined on specific conditions, you could use an onClick event on the button, that will execute an javascript function and assign values to the field as appropriate.

Sandeep Mamidenna


-------------------------------------------------------------------------------------------------
Blue Cross & Blue Shield of MS
WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
 
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Could you all please place your HTML code between
  
[code] 

[/code]

tags? We cannot see the HTML you've posted.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Can you send me an example of code that I can put in an onclick?

thanks!
 
Posts: 8 | Location: Minneapolis, MN | Registered: July 27, 2004Report This Post
Expert
posted Hide Post
Hi all,

FYI, here is the other topic regarding the same issue:

sending &variable in HTML thru push-buttons: https://forums.informationbuilders.com/eve/forums/a/tpc/...021029422#7021029422

Cheers, Smiler

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     passing variable in HTML through push-buttons

Copyright © 1996-2020 Information Builders