Re: Busy Indicator to prevent user activity

2013-04-12 Thread saty
Thanks for all your help.

I have this another  case now, i have a download link.

The code that downloads file is below:

LinkVoid link = new LinkVoid(dataExportLink)
{
private static final long serialVersionUID = 1L;
public void onClick() 
{   
IRequestHandler handler = new DataExportHandler(a,b,c,d...);

RequestCycle.get().scheduleRequestHandlerAfterCurrent(handler); 

}
};   
When this link is clicked the Busy Indicator kicks in but it never goes away
even after file has been downloaded. How Can i make the busy indicator work
for this case.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657932.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Busy Indicator to prevent user activity

2013-04-12 Thread Ernesto Reinaldo Barreiro
try

https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html




On Fri, Apr 12, 2013 at 6:18 PM, saty satya...@gmail.com wrote:

 Thanks for all your help.

 I have this another  case now, i have a download link.

 The code that downloads file is below:

 LinkVoid link = new LinkVoid(dataExportLink)
 {
 private static final long serialVersionUID = 1L;
 public void onClick()
 {
 IRequestHandler handler = new DataExportHandler(a,b,c,d...);
 RequestCycle.get().scheduleRequestHandlerAfterCurrent(handler);
 }
 };
 When this link is clicked the Busy Indicator kicks in but it never goes
 away
 even after file has been downloaded. How Can i make the busy indicator work
 for this case.

 Thanks



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657932.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Regards - Ernesto Reinaldo Barreiro


Re: Busy Indicator to prevent user activity

2013-04-11 Thread Andrea Del Bene

You can take a look at the following project

https://github.com/bitstorm/Wicket-tutorial-examples/tree/master/CustomAjaxListenerExample

In this project you will find an Ajax listener that disables a given 
component while the AJAX request is running and it also displays an 
animated gif as activity indicator.

Following instructions works great however they do not address the problem of
preventing user from clicking anywhere until the request is processed.

https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html

I need the busy indicator / gif to layer the application so user may not be
able to click anywhere,  any thoughts on how to achieve this would be highly
appreciated.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Busy Indicator to prevent user activity

2013-04-11 Thread saty
Thank you guys.
Yes, it was merely a matter of having correct CSS in place for the div, it
works great now.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657887.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Busy Indicator to prevent user activity

2013-04-11 Thread saty
I was able to position it wherever i want but now i notice that its hides
under one of my model window in certain cases, is there a way to show it
above the model window too.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657900.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Busy Indicator to prevent user activity

2013-04-11 Thread Ernesto Reinaldo Barreiro
move the div blocking layer under body and give it a z-index bigger than
the one of modal window


On Thu, Apr 11, 2013 at 9:50 PM, saty satya...@gmail.com wrote:

 I was able to position it wherever i want but now i notice that its hides
 under one of my model window in certain cases, is there a way to show it
 above the model window too.

 Thanks



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657900.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Regards - Ernesto Reinaldo Barreiro


Re: Busy Indicator to prevent user activity

2013-04-10 Thread Ernesto Reinaldo Barreiro
I think what you are missing is just the CSS part of the solution Look,
for instance, at how modal window is creating blocking layer


On Thu, Apr 11, 2013 at 2:06 AM, saty satya...@gmail.com wrote:

 Following instructions works great however they do not address the problem
 of
 preventing user from clicking anywhere until the request is processed.


 https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html

 I need the busy indicator / gif to layer the application so user may not be
 able to click anywhere,  any thoughts on how to achieve this would be
 highly
 appreciated.

 Thanks



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Regards - Ernesto Reinaldo Barreiro