Re: Veil behavior of wicketstuff-minis

2012-02-16 Thread matteus
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Veil behavior of wicketstuff-minis

2012-02-02 Thread matteus
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Veil behavior of wicketstuff-minis

2012-01-26 Thread matteus
Hi, I managed to put the veil on my page after I execute a method, but I can
not remove the veil.

I used the class shown on the site 
http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/minis/1.4.17.1/org/wicketstuff/minis/veil/VeilResources.java

and I can not remove. Someone could help me with this case?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p4330008.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: Veil behavior of wicketstuff-minis

2012-01-26 Thread Martin Grigorov
Show us how you use it.

On Thu, Jan 26, 2012 at 12:39 PM, matteus matteu...@hotmail.com wrote:
 Hi, I managed to put the veil on my page after I execute a method, but I can
 not remove the veil.

 I used the class shown on the site
 http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/minis/1.4.17.1/org/wicketstuff/minis/veil/VeilResources.java

 and I can not remove. Someone could help me with this case?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p4330008.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Veil behavior of wicketstuff-minis

2012-01-26 Thread matteus
 viel its not work..


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p4330145.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: Veil behavior of wicketstuff-minis

2010-05-26 Thread nmetzger

This is pretty easy to do. I added a veil to my page by implementing
IAjaxIndicatorAware, adding the method getAjaxIndicatorMarkupId() and
providing style definitions on the html side. Like this:

public class MyPage extends WebPage implements IAjaxIndicatorAware{
 public MyPage(){
  //Do what ever you need to do in your contructor
 }

public String getAjaxIndicatorMarkupId() {
return veil;
}
}

div id=veil style=display:none;position:absolute;top:0;left:0;
 z-index=9;background-color:grey;
 width:100%;height:100%;color:white;
 opacity:0.4;filter:alpha(opacity=40)
h1 style=position:absolute;top:25%;left:25%Loading .../h1
/div

Hope this helps,

Natalie

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p2231564.html
Sent from the Wicket - User 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



Veil behavior of wicketstuff-minis

2010-05-23 Thread Kai Mütz
Hi,

is there an example of the veil behavior of wicketstuff-minis. I want to try
it but am not sure how to use it.

Thanks, Kai


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