You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by BONNET Francois-Xavier <fr...@renault.com> on 2001/12/04 16:53:32 UTC
Re: Quickly change page to prevent user to click severaltimeson a link
Sorry fo missing attached file.
Here is the file (should be...)
And the code :
<HTML>
<head>
<script>
function wait() {
document.open("text/html","new")
document.writeln("Loading...")
document.close()
}
</script>
<a href="http://jakarta.apache.org/struts/" onclick="javascript:wait()">Struts web
site</a>
</HTML>
----- Original Message -----
From: "BONNET Francois-Xavier" <fr...@renault.com>
Date: Tuesday, December 4, 2001 3:48 pm
Subject: Re: Quickly change page to prevent user to click several timeson a link
> You could use some very simple javascript to generate a waiting page untill server
> responds.
>
> See attached html file.
>
> ----- Original Message -----
> From: Frédéric Houbie - ABSIS-GROUP <jd...@absis-group.be>
> Date: Tuesday, December 4, 2001 3:09 pm
> Subject: Quickly change page to prevent user to click several times on a link
>
> > Hi,
> >
> > I have an application that generate PDF report (using FO). The problem is
> > that when a user click on a link to generate the report, it takes a long
> > time, but the actual page stays until the action bean redirect the user to
> > the generated report. But the user can click several times on the link when
> > he is waiting (grrrrrrrrrr). How could I transfer him to a 'waiting page'
> > then transfer him to the generated report
> >
> > Thanks
> >
> > Frédéric
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>