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] Adding button to run deferred from HTML painter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Adding button to run deferred from HTML painter
 Login/Join
 
Silver Member
posted
I have been looking at the documentation, and through Focal Point, and wanted to get some guidance on how best to handle the addition of a deferred run button from my launch page.

I did find This Link which gave a workaround, but wasn't sure if that was still the best approach, or if someone has come up with something better?

This message has been edited. Last edited by: DW Marker,


WF 7.6.4
Windows XP and UNIX
 
Posts: 41 | Registered: November 26, 2008Report This Post
Virtuoso
posted Hide Post
I'm not on the latest version, but this was an automatic selection when creating a new launch page in previous versions - it asked if you wanted a "submit" a "deferred" or both.

Anyway, this is what gets stuck in there:
<script src="/ibi_html/javaassist/cgipath.js"></script>
<script language="javascript">
function init()
{document.form.action = getWFScriptName();
if ((document.form.IBIMR_defer != null) &&
(document.form.IBIMR_threebuttons != null))
document.form.IBIMR_defer.value="";
}
function onSubmdefer()
{
   document.form.IBIMR_defer.value="Defer";
   document.form.submit();
}
</script>

and the buttons that were created:
<INPUT TYPE='submit' NAME='Submit' VALUE='Submit'
style="Z-INDEX: 16; LEFT: 15px; WIDTH: 100px; COLOR: rgb(255,255,255); FONT-STYLE: normal; FONT-FAMILY: Tahoma; FONT-WEIGHT: 700; FONT-SIZE: 9pt; BACKGROUND-COLOR: rgb(0,0,64); TEXT-DECORATION: none">
<INPUT TYPE='button' NAME='Submit' VALUE='Defer'
style="Z-INDEX: 16; LEFT: 15px; WIDTH: 100px; COLOR: rgb(255,255,255); FONT-STYLE: normal; FONT-FAMILY: Tahoma; FONT-WEIGHT: 700; FONT-SIZE: 9pt; BACKGROUND-COLOR: rgb(0,0,64); TEXT-DECORATION: none" onClick="javascript:onSubmdefer();return false;">
<input type='hidden' name='IBIMR_defer' value='RUN'>
<input type='hidden' name='IBIMR_threebuttons' value="true">
<INPUT TYPE='RESET' NAME='reset' VALUE='Reset'
style="Z-INDEX: 16; LEFT: 15px; WIDTH: 100px; COLOR: rgb(255,255,255); FONT-STYLE: normal; FONT-FAMILY: Tahoma; FONT-WEIGHT: 700; FONT-SIZE: 9pt; BACKGROUND-COLOR: rgb(0,0,64); TEXT-DECORATION: none">

If nothing else, you should be able to manually insert the neceessary pieces into your launch page to make it work. The key is including the IBIMR_defer value of "Defer" when it is to be run deferred.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Silver Member
posted Hide Post
It appears this is taking care of it... Thanks A million


WF 7.6.4
Windows XP and UNIX
 
Posts: 41 | Registered: November 26, 2008Report This Post
Member
posted Hide Post
DW Marker:
I am on 7.6.4 as well and I couldn't get the code to work. The Defer button click makes it to the onSubmdefer funtion (I put in an alert) but nothing happens. Did you have to modify the code at all? The next line in the function - document.form.submit() is not firing the report.
Thanks in advance.

Raj
 
Posts: 15 | Registered: June 18, 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] Adding button to run deferred from HTML painter

Copyright © 1996-2020 Information Builders