Consultor Eletrônico



Kbase P49794: WebSpeed Application with AS/400 dataserver improved performance by use of onload function.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

WebSpeed 3.1x
IBM AS/400

SYMPTOM(s):

WebSpeed Application with AS/400 DataServer improved performance by use of onload function.

WebSpeed application is slow using AS/400 DataServer

CAUSE:

The cause is unknown, but could be HTML related, AS/400 or most likely site dependent. The fix does not give a logical explanation on what the cause could be.

FIX:

What fixed this WebSpeed applications performance is:

- in each HTML page containing a table:
- modify the line "< body..."; by adding the function "onload=..." :

<body bgcolor="#FFFFBF" onload="Affiche();">.

- The function "Affiche()" :
function Affiche() {
try ~{
document.all['table01'].style.visibility='visible';
} catch(e){}
}


- Modify the lines '<table...' :

<TABLE id="table01" STYLE="visibility:hidden" border="2" cellpadding="2" cellspacing="0" ALIGN="Center">.

With the loading of the page, the table is hidden then at the end of the loading, the table is posted.

See also Solution ID P4737