Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Forcing a new viewer window
Migrateduser
Hello World,
I am using an HTML form within a BIRT text object to invoke another report design and pass entered data as a parameter in the url.
What I've found/stolen on the intraweb gets me to where it will open in the parent window, but I need to force it into a new window (I am calling the detail report from subscribed BIRT Mobile content, and I don't wish to force the user landing page instance to close.)
I've tried window.open, _blank, new, .......Help please
Here is my HTML:
<form action="JavaScript:runReport()" method="post" id="form">
<fieldset>
<input type="hidden" name="subject" value="test&">
PO Number:<input type="text" id="poNum" name="poNum">
<input type="submit" value="Submit">
</fieldset>
</form>
<script type="text/javascript">
var f = document.getElementById("form");
f.onsubmit = function runReport()
{
var po = document.getElementById("poNum")
window.location="executereport.do?__executableName=/CustomerContent/ReportContent/orderDetail.rptdesign&invokeSubmit=true&custPO="+po.value;
}
Find more posts tagged with
Comments
There are no comments yet