This worked from IBI
You should be able to customize to allow the default of "Run in New Window"
checkbox to be checked via the following:
Location of the file:
ibi\WebFOCUS71\ibi_html\javaassist\ibi\html\describe\autoprompt.xsl
Original Version:
function onLoadDescribeForm( )
{
document.WFDescribeForm.AmperStaticMulti.disabled=true;
document.WFDescribeForm.AmperDynamicMulti.disabled=true;
document.WFDescribeForm.AmperAcceptMulti.disabled=true;
with( document.WFDescribeForm )
{
var formLen = elements.length;
for( var i = 0; i
<formLen; ++i )
if( elements[i].type != 'hidden'
disable-output-escaping="yes">&& elements[i].disabled ==
false )
{
elements[i].focus();
break;
}
}
}
You just need to add the following line to the beginning of the function:
document.WFDescribeForm.reportTarget.checked=true;
Therefore, the function should look something like:
function onLoadDescribeForm( )
{
document.WFDescribeForm.reportTarget.checked=true;
document.WFDescribeForm.AmperStaticMulti.disabled=true;
document.WFDescribeForm.AmperDynamicMulti.disabled=true;
document.WFDescribeForm.AmperAcceptMulti.disabled=true;
with( document.WFDescribeForm )
{
var formLen = elements.length;
for( var i = 0; i
<formLen; ++i )
if( elements[i].type != 'hidden'
disable-output-escaping="yes">&& elements[i].disabled ==
false )
{
elements[i].focus();
break;
}
}
}
Just location the function onLoadDescribeForm() in the file indicated
and add the single of line of code at the beginning of it prior to any
other code. Do not adjust any other code. Also, make a backup of this file
prior to any changes as a precaution.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |