I'm not sure why we needed it, but in 7.x when you run a Parameter report without a front end, you get this big blue page where the parameters are input and when you submit, the output goes in that same page unless you check "Run in New Window" Does anyone know if you can have it default to checked? Or is this a "new feature request" for a new feature I didn't request?
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
October 25, 2006, 02:15 PM
Leah
I concur, the default of checked to run in a new window would be nice. One thing I've noticed is if your output is pdf and you run in new window, it sometimes comes up behind a blank screen. Not sure if this is an IB issue or a browser issue.
Leah
October 25, 2006, 02:45 PM
N.Selph
This kind of error (blank screen), I have seen with Adobe Reader 7, but not Adobe Reader 6. The PDF problems we have had have been dependant on Adobe Reader Version, interacting with Tomcat version.
1. Edit the C:\ibi\DevStudio71\ibi_html\javaassist\ibi\html\describe\autoprompt.xsl file if you are using stand-alone Developer Studio or C:\ibi\WebFOCUS71\ibi_html\javaassist\ibi\html\describe\autoprompt.xsl if you have WebFOCUS installed.
2. Find the following element:
Run in a new window
3. Make it checked by default by adding the checked modifier:
Run in a new window
You will need to recycle the WebFOCUS web application for the change to take effect.
If it works, you can still submit a new feature request if you like, because a change like this will probably not be preserved when you upgrade to a newer release. You would have to make the modification again after upgrading.
Let me know if this helps.
Joe
October 26, 2006, 08:43 AM
ibidevelop
Prarie,
In my previous post, the html was interpreted instead of being displayed as is. What you are looking for in the autoprompt.xsl file is a checkbox named reportTarget with an id of idReportTarget. Add the checked attribute to this checkbox.
<input type="checkbox" name="reportTarget" id="idReportTarget"></input<><span>Run in a new window</span>
Joe
October 26, 2006, 08:46 AM
ibidevelop
Mistyped it. Here it is corrected:
<input type="checkbox" name="reportTarget" id="idReportTarget"></input><span>Run in a new window</span>
Joe
October 26, 2006, 08:47 AM
ibidevelop
And with the checked attribute:
<input type="checkbox" name="reportTarget" id="idReportTarget" checked ></input><span>Run in a new window</span>
Joe
October 26, 2006, 09:10 AM
Prarie
Thanks...we'll give this a try...and I'll report back.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
October 26, 2006, 10:01 AM
Prarie
Tried that...and ended up with a blank page. Must be missing something.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
July 23, 2009, 01:56 PM
rv
Here's how I got it to work:
1. Add the following 2 lines within the "function window_onload()" var xnode = document.getElementById("ibi_requests").getElementsByTagName("requests")[0].getElementsByTagName("request")[0].attributes.getNamedItem("targetname"); xnode.nodeValue = "_blank";
2. Update function "checkbox1_onclick(ctrl)" { to say - var xnode = document.getElementById("ibi_requests").getElementsByTagName("requests")[0].getElementsByTagName("request")[0].attributes.getNamedItem("targetname"); if (xnode.nodeValue == "_blank"){ xnode.nodeValue = "iframe1"; } else xnode.nodeValue = "_blank";
With < and > on both ends. The HTML was interpreted.
July 23, 2009, 02:17 PM
susannah
prarie its a setting in your admin console, configuration, parameter settings... that's where you override that uglyy blue page (that was the default in 533 that everyone hated) and get it back to the regular way. i can't remember the specifics... but our site right now has IBIF_wfdescribe=OFF and IBIF_describe_xsl = automprompt_top
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID