Re: Ajax - Long process indicator ?

2007-09-13 Thread Evan Chooly
We're using matej's modal window to do just that.  Works quite well.

On 9/13/07, Erik van Oosten [EMAIL PROTECTED] wrote:

 Besides showing a progress indicator, you could also disable mouse
 interaction by overlaying a div that has the height and width of the
 entire page.

 Add a bit of javascript to the button to show/display such a div.

 Erik.

 Mael Sicsic wrote:
  In fact I my problem is the following : a form is submitted with an
 ajaxbutton, and processing of this form takes a long time (many server side
 DB checkings), and within this computing time, I would like to prevent the
 user to continue editing the form being processed...
 


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




Ajax - Long process indicator ?

2007-09-12 Thread Mael Sicsic
Hello,

I dont find in the available components one that would allow to display a 
little pop up while a long ajax process is running.
In a form with an Ajax button, the browser doesnt display any feedback (as the 
full page isnt re-rendered, there is no  browser loading indicator). If the 
process associated with the button action takes somes times (a few seconds), 
the user as the feeling that his click has not been taken in account... 

Is there a allready a component that allow to display some feedback to the user 
when a button or link is clicked ? If not what is the most straightforward way 
to implement this fonctionality ? 

Re: Ajax - Long process indicator ?

2007-09-12 Thread Francis De Brabandere
IndicatingAjaxLink might be what you need

On 9/12/07, Mael Sicsic [EMAIL PROTECTED] wrote:
 Hello,

 I dont find in the available components one that would allow to display a 
 little pop up while a long ajax process is running.
 In a form with an Ajax button, the browser doesnt display any feedback (as 
 the full page isnt re-rendered, there is no  browser loading indicator). If 
 the process associated with the button action takes somes times (a few 
 seconds), the user as the feeling that his click has not been taken in 
 account...

 Is there a allready a component that allow to display some feedback to the 
 user when a button or link is clicked ? If not what is the most 
 straightforward way to implement this fonctionality ?


-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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



Re: Ajax - Long process indicator ?

2007-09-12 Thread Mael Sicsic
In fact I my problem is the following : a form is submitted with an ajaxbutton, 
and processing of this form takes a long time (many server side DB checkings), 
and within this computing time, I would like to prevent the user to continue 
editing the form being processed... 
We have coded a IndicatingAjaxButton that is a mix between a 
IndicatingAjaxLink and an AjaxButton, so the user has a feedback, but this 
doesnt prevent the user to continue modifying the form while the processing is 
running. 
So I think a modal popup would be the ideal solution to do this. 
Is it possible to modify the behaviour of the IndicatingLink so that instead of 
displaying a animated gif when clicked, a modal popup is displayed ?

  _  

From: Francis De Brabandere [mailto:[EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Wed, 12 Sep 2007 21:40:16 +0200
Subject: Re: Ajax - Long process indicator ?

IndicatingAjaxLink might be what you need
  
  On 9/12/07, Mael Sicsic [EMAIL PROTECTED] wrote:
   Hello,
  
   I dont find in the available components one that would allow to display a 
little pop up while a long ajax process is running.
   In a form with an Ajax button, the browser doesnt display any feedback (as 
the full page isnt re-rendered, there is no  browser loading indicator). If the 
process associated with the button action takes somes times (a few seconds), 
the user as the feeling that his click has not been taken in account...
  
   Is there a allready a component that allow to display some feedback to the 
user when a button or link is clicked ? If not what is the most straightforward 
way to implement this fonctionality ?
  
  
  -- 
  http://www.somatik.be
  Microsoft gives you windows, Linux gives you the whole house.
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  


Re: Ajax - Long process indicator ?

2007-09-12 Thread Erik van Oosten
Besides showing a progress indicator, you could also disable mouse 
interaction by overlaying a div that has the height and width of the 
entire page.


Add a bit of javascript to the button to show/display such a div.

   Erik.

Mael Sicsic wrote:
In fact I my problem is the following : a form is submitted with an ajaxbutton, and processing of this form takes a long time (many server side DB checkings), and within this computing time, I would like to prevent the user to continue editing the form being processed... 
  



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