Andrew Close wrote:
[snip]
you'll have to play with layout a bit to get things looking correct.
when you submit just be sure to call your onclick="process();" or
onchange="process();" function and you should be all set.
HTH
:)
Yves, Andrew,
Thanks for this, I'll experiment and see if I can
get s
The "threading stuff" only sounds intimidating but its actually
simple. In the execute() method of your action class, all you need to
do is go something like:
new Thread() {
public void run() {
//your processing logic
Business.processWhatever();
//place flag in sess
On Tue, 14 Sep 2004 18:45:47 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote:
> OK, thanks, I think I understood that.
> However, does not this page then stay up there even after the action is
> completed and you go to your result page?
>
> My problem is that the struts page I'm developing is
Wayne Fuller wrote:
On Tue, 14 Sep 2004 17:05:58 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote:
Sorry for being a complete clueless newbie, but could you expand
a bit on this? I don't have the concepts quite clear enough to
understand what you mean.
Thanks,
Håkon
That's quite alright, no ne
On Tue, 14 Sep 2004 17:05:58 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote:
> Sorry for being a complete clueless newbie, but could you expand
> a bit on this? I don't have the concepts quite clear enough to
> understand what you mean.
>
> Thanks,
> Håkon
That's quite alright, no need to a
One way to do this is:
1. Start a thread on your search action that does the actual retrieval
and processing of the data. At the end of the thread's execution,
place a flag in the session that you will check for later on to see if
the search/processing is done.
2. Right after starting the thread,
Wayne Fuller wrote:
The way we have implemented it is with javascript. You set the href
for the window and then submit the form.
Sorry for being a complete clueless newbie, but could you expand
a bit on this? I don't have the concepts quite clear enough to
understand what you mean.
Thanks,
Håkon
Would something like this work if you put an img reference in the "please wait" page,
that actually did the search process, and put its results in a session object, before
returning an image to the page? Then the page could have an onLoad function to bounce
to the results display page, which pu
On Tue, 14 Sep 2004 09:32:16 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Northwest airlines (www.nwa.com) and other similar sites have a very nice
> "Please wait/searching" page concept. When searching for a flight, it
> sends you to a Please Wait/searching page that continues to load un
Northwest airlines (www.nwa.com) and other similar sites have a very nice
"Please wait/searching" page concept. When searching for a flight, it
sends you to a Please Wait/searching page that continues to load until the
search has finished. (Sorry it is hard to describe... it's easier to just
chec
10 matches
Mail list logo