I found a solution.

I made a mistake on the old link. It was :
<a href="javascript:validateAndSubmit('PAGEUP');"><img border="0" 
src="./styles/apparea/UpArrow.gif"></img></a>

and now it is :
<span style="cursor:hand" 
onclick="javascript:validateAndSubmit('PAGEUP');"><img border="0" 
src="./styles/apparea/UpArrow.gif"></img></span>

It seems that the first link is printed before the page is entirely loaded. And 
that causes the issue.

Vincent


-----Message d'origine-----
De : wdsci-l-bounces+vdupuis=sopragroup.com@xxxxxxxxxxxx
[mailto:wdsci-l-bounces+vdupuis=sopragroup.com@xxxxxxxxxxxx]De la part
de Dupuis Vincent
Envoyé : vendredi 27 mai 2005 18:05
À : WDSCI-L@xxxxxxxxxxxx
Objet : [WDSCI-L] Function keys


Hello,

We are still working with our WF application generated with WDSC 5.1.2.4 AE. We 
have personalized our app : 
we have replaced the CmdKeys.jsp by links to the validateAndSubmit javascript 
function within our JSP.
The issue is that when we click several times quickly on the icon associated to 
page up function on a list screen,
we finally get a white screen with only 'false' written.

Here is the code of the link : 
<SCRIPT language="JavaScript">
<a href="javascript:validateAndSubmit('PAGEUP');"><img border="0" 
src="./styles/apparea/UpArrow.gif"></img></a>
</SCRIPT>

Any ideas?

Vincent





Return to Archive home page | Return to MIDRANGE.COM home page