Yup buddy,
We tested it in both the case and it worked pretty fine,

But yup, the code to invoke div was a bit different in netscape*. If we
need to keep support for multiple browser compatibility, get the browser
name and version in start and code the page in DHTML  fashion and on
change of the field call a wrapper function which will call either of
the two functions (one for IE and another for Netscape)

* That was one reason I didn't talk in code language to explain the
approach.

For such case, I will recommend to use mozila firebird with plugin to
change its behavior as simulating any established browser (same mozilla
browser can simulate itself as many as 8 browsers)


- regards

Raj
(+91-11-31261821)

-----Original Message-----
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 2:09 PM
To: Struts Users Mailing List
Subject: Re: How to show a 'please wait' page while performing action

Hi Tiwari,

Did you tested this approach in Netscape.
What was the result?

I implemented the same thing and everything works fine in IE but not in
Netscape?
In netscape both the DIV starts coming.


Shailender Jain

[EMAIL PROTECTED] wrote:

> Hi Christian,
> Here I am giving you the approach we implemented to handle this
> scenario.
>
> We developed two separate presentations in two div of a html page
before
> converting this page to JSP. One div (div1) of this just display
"Please
> wait, Work in Progress" kind of message and second div (div2) contains
> the actual logic of processing.
>
> At the start of page somewhere, declare a JavaScript variable and by
> default make this variable false.
>
> By default show the visibility of div1 as true. Now at the end of page
> where all the processing has been done change the above declared
> variable as true.
>
> On change of this variable call a JavaScript function which will set
> visibility of div1 as false and div2 visibility as true.
>
> Then onwards, put your java code (scriptlet) into div2.
>
> Using this approach, we could smoothly implement please wait
operation.
>
> Hope this will help you.
>
> - regards
>
> Raj
> (+91-11-31261821)
>
> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christian Riedel
> Sent: Thursday, August 05, 2004 1:55 PM
> To: [EMAIL PROTECTED]
> Subject: How to show a 'please wait' page while performing action
>
> Hi,
>
> I am trying to implement a page, that is shown during perfoming a file
>
> upload action.
>
> When the upload form is submitted I want a new page to be displayed
>
> showing a 'please wait' message. While this page is shown the actual
>
> file-upload should be performed and then, when the upload is finished,
>
> the actual 'result-page' should be shown.
>
> By now I can only submit the form. the file-upload starts and the page
>
> does not do anything until the upload is completed. So if the upload
>
> takes a long time the user does not really know what's happening.
>
> Can anyone help me with this?
>
> TIA
>
> Christian
> --
>
> To reply to this posting directly use the following address and
> remove the 'NO-SPAM' part: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Confidentiality Notice
>
> The information contained in this electronic message and any
attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
> you are not the intended recipient, please notify the sender at Wipro
or [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to