I succeeded to solve my problem. I found the site
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: 
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

Reply via email to