You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by matteus <ma...@hotmail.com> on 2012/02/02 20:30:36 UTC
Re: Veil behavior of wicketstuff-minis
Someone can help with the veil behavior, because until now I could not make
it works.
Thankss.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p4352522.html
Sent from the Users forum 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: Veil behavior of wicketstuff-minis
Posted by matteus <ma...@hotmail.com>.
I succeeded to solve my problem. I found the site
https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
where shows an example of ajax and non ajax button to put the veil . Then I
created the files. Css and. Js with these samples and placed in the same
directory of my. Java. Then in my java page I added this:
private static final CompressedResourceReference MYPAGE_JS = new
CompressedResourceReference (Index.class, "veil.js");
private static final CompressedResourceReference MYPAGE_CSS = new
CompressedResourceReference (Index.class, "veil.css");
To reference the css and javascript.
Then just add it to your page
add (JavascriptPackageResource.getHeaderContribution (MYPAGE_JS));
add (CSSPackageResource.getHeaderContribution (MYPAGE_CSS));
and this html:
<div id="bysy_indicator"> </ div>
works for ajax and non ajax Button
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p4395959.html
Sent from the Users forum 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