You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Newgro <pe...@gmx.ch> on 2007/12/11 10:01:22 UTC

Overlay panel on ajax call

Hi *,

i have a long running task. The result will be presented in a panel. The
panel is already present if the task is started. I would like to disable the
panel until the task is done. The presentation of the panel should be
"semi-transparent" with a "running circle".

How can i reach this? Can anybody show me a hint?

i tried the LazyLoadPanel. The problem with it is that it's completely
invisible.

Thanks
Per
-- 
View this message in context: http://www.nabble.com/Overlay-panel-on-ajax-call-tp14270197p14270197.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Overlay panel on ajax call

Posted by Jeremy Levy <je...@gmail.com>.
I would assume this can be done entirely using CSS.. Try something like:

div#greyBackground
{position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;background:rgb(230,230,230);opacity:.75;filter:alpha(opacity=75);text-decoration:none;}

and use the wicket simpleattributemodifier to change the style attribute
display option.

J

On Dec 11, 2007 10:01 AM, Alex Objelean <al...@isdc.ro> wrote:

>
> Use ajaxCallDecorator and javascript. There is a jquery plugin, called
> blockUI. You can use it, or write something similar to get the same
> behavior.
>
> Regards,
> Alex.
>
>
> Newgro wrote:
> >
> > Hi *,
> >
> > i have a long running task. The result will be presented in a panel. The
> > panel is already present if the task is started. I would like to disable
> > the panel until the task is done. The presentation of the panel should
> be
> > "semi-transparent" with a "running circle".
> >
> > How can i reach this? Can anybody show me a hint?
> >
> > i tried the LazyLoadPanel. The problem with it is that it's completely
> > invisible.
> >
> > Thanks
> > Per
> >
>
> --
> View this message in context:
> http://www.nabble.com/Overlay-panel-on-ajax-call-tp14270197p14275684.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Overlay panel on ajax call

Posted by Alex Objelean <al...@isdc.ro>.
Use ajaxCallDecorator and javascript. There is a jquery plugin, called
blockUI. You can use it, or write something similar to get the same
behavior.

Regards, 
Alex.


Newgro wrote:
> 
> Hi *,
> 
> i have a long running task. The result will be presented in a panel. The
> panel is already present if the task is started. I would like to disable
> the panel until the task is done. The presentation of the panel should be
> "semi-transparent" with a "running circle".
> 
> How can i reach this? Can anybody show me a hint?
> 
> i tried the LazyLoadPanel. The problem with it is that it's completely
> invisible.
> 
> Thanks
> Per
> 

-- 
View this message in context: http://www.nabble.com/Overlay-panel-on-ajax-call-tp14270197p14275684.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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