Our (7.6.2) installation uses MRE to generate some launch pages. After I publish a simple page, the default multi-SELECT box size is 3 (with over 100 values available), which is a major pain for our users.
The generated page is 99% javascript, which I can sort of navigate through but I see no reference to the creation of the SELECT box. It must be hiding in some other file in some unseen directory, I'm guessing.
All I want to do is put a size="10" into the SELECT.
Any clues out there?
Thanks!This message has been edited. Last edited by: Kerry,
that should do it. it always helps to have Microsoft Front Page around, or Expressions, for quick context checking.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
June 23, 2009, 03:45 PM
Microfich
Found the bottleneck.
The MRE-generated javascript calls an IBI js member - (ibi_html\javaassist\ibi\html\describe\APHTMLGen.js) which transforms the MRE javascript into HTML for display. That transforming code has a 'SIZE = 3' embedded in it.
I won't change this member, as it is part of the base install and would impact other MRE members. So, I'll make a copy, change the SIZE parameter and call that instead.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
June 24, 2009, 05:26 AM
<JJI>
Microfish,
Indeed ibi_html\javaassist\ibi\html\describe\APHTMLGen.js is the place where you should/can change this. At every new installation/upgrade I change this size to 5 instead of the default 3. Also the font size can be changed in :
Aanpassen look autoprompt parameters
Drive:\ibi\WebFOCUS71\ibi_html\javaassist\ibi\html\describe\autoprompt.css
.selectLabel {
color: black;
background-color: lavender;
font-weight: bold;
font-size: 10px; --> the default is 14
border-top:solid 1px black;
}
.paramControl {
position: relative;
width: 100%;
font-size: 10px; --> the default is 14
}
You can also automaticly check the checkbox 'Run in a new window'. This way the report is returned in a new window by default. My users like this better.
Check the checkbox 'Run in a new window' by default:
drive:\ibi\WebFOCUS71\ibi_html\javaassist\ibi\html\describe\autoprompt.xsl
function onLoadDescribeForm( )
{
//add the following line
--> document.WFDescribeForm.reportTarget.checked=true; <--
document.WFDescribeForm.AmperStaticMulti.disabled=true;
document.WFDescribeForm.AmperDynamicMulti.disabled=true;
document.WFDescribeForm.AmperAcceptMulti.disabled=true;
with( document.WFDescribeForm )
Bear in mind that this is for WF 7.1.7. For higher version the technique stays the same only the jsp or css file can differ a little.
Hope this helps to get a better view of your autoprompt page.