Hi, Jquery UI has a nice css to overlay components. You can try to
present one protecting the page and presenting some message.
e.g.
Overlay = {
show : function() {
var w = $('body').width();
var h = $('body').height();
var markup = '<div class="ui-widget-overlay" style="width: ' + w
+ 'px; height: ' + h + 'px; z-index:
1001;">some message</div>';
$('body').prepend(markup);
}
}
at the server side:
target.appendJavaScript( 'Overlay.show(); waitSomeMoment(); redirect(); ');
On Tue, Aug 2, 2011 at 1:46 PM, eugenebalt <[email protected]> wrote:
> I need to disable an entire page, with all its components, and display a
> message (possibly in the FeedbackPanel) saying, "Operation successful. You
> will be redirected in N seconds" (e.g. 5). After N seconds, I will do a
> setRedirectPage(..) to a different page.
>
> The point is that the user should see the "Success" message but doesn't have
> to do anything else to be re-directed to the main page, just wait a few
> seconds. In the meantime, he should be prevented from manipulating the
> current form in any way.
>
> Is there a way to quickly implement this? Thanks.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Disabling-Entire-Page-and-Redirecting-to-Page-in-N-Seconds-tp3712976p3712976.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Pedro Henrique Oliveira dos Santos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]