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     Submit More than One Report to WFServlet on One ASPX Page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Submit More than One Report to WFServlet on One ASPX Page
 Login/Join
 
Member
posted
All,

I'm an extreme WebFocus newbie, and I am having some trouble running more than one WebFocus report from a single Aspx page.

Basically, I have a class that writes out a dynamic HTML form that looks like this:

<html><head>
<script type="text/javascript">
  function submitForm() {for (i=0; i<document.forms.length; i++) {document.forms[i].submit();} } 
</script>
</head>
<body onload="submitForm()">

<form name="FORM1" method="POST" action="http://XXX.X.X.XX/ibi_appsd/WFServlet" >
<input name="IBIF_ex" type="hidden" value="Report1.fex">
<input name="db" type="hidden" value="sample_">
</form>

<form name="FORM2" method="POST" action="http://XXX.X.X.XX/ibi_appsd/WFServlet" >
<input name="IBIF_ex" type="hidden" value="Report2.fex">
<input name="db" type="hidden" value="sample_">
</form>

</body></html>


When the form loads, it submits to the WFSerlet.
This will work on some machines, but on others Report2 will process while Report1 will not. Does anyone have any ideas?

Thanks,
-- Joe --
 
Posts: 2 | Registered: January 02, 2007Report This Post
Platinum Member
posted Hide Post
Hi

Maybe stick target="_blank" in there.



That way each one will open in a new window. Probably the second one is simply replacing the first one.

Jodye


WF 8.0.0.5M
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Member
posted Hide Post
Thanks a lot!!!! Winky

That did it....sort of. For the process I am working on, while the CSR is working the account and wants to generate a bill, I need a couple of specific documents. What is happening on most of my user's PC's is that they will click a "Bill" button on the main account's page. That will cause javascript to pop open a new window. This window's job is to create the dynamic HTML to submit any reports that are needed for the bill (max of 2). On most of the PC's this new page submits both report requests and displays the last one, which is fine.

What is happening with the target="_blank", is the new window opens, creates it's dynamic HMTL and then opens two more windows, so I have three in total, plus the original aspx page that is the account's main page.


Maybe if I add target="_self" to one form and target="_blank" to the other that would work? I'll test it out, thanks for your help!!
 
Posts: 2 | Registered: January 02, 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     Submit More than One Report to WFServlet on One ASPX Page

Copyright © 1996-2020 Information Builders