Re: Small doubt about wicket and Html

2010-05-18 Thread Fernando Wermus
wicket:enclosure is the best option

On Mon, May 17, 2010 at 7:15 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 You can not do it directly in HTML - it breaks the separation of concerns.
  But, you can create a WebMarkupContainer, set the visibility on it, and
 nest your HTML within it.  Then you can control the visibility for that
 entire block with only the single component.  Also, see wicket:enclosure.

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Mon, May 17, 2010 at 4:41 PM, Victor_Trapiello vic...@trapiello.net
 wrote:

 
  Hello guy;
 
  I´m in Spain 12.0 o´clock nothing to do and before falling a sleep I
  wonder... is there any method / way to hidde wicket items/componentes
  direct
  in the html code¿? I mean now I do not want to show an image, in my java
  code I say bablablabla myLabelWithImage.SetVisible(false);
 
  can we do something similar like in php or strutsc, like puting ablock of
  html and at the beginning one conditions intead putting everything in the
  java code¿?
 
  Thank you very much guys!
 
  Victor Trapiello
  www.trapiello.net
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/Small-doubt-about-wicket-and-Html-tp2220418p2220418.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
 
 




-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus


Re: Small doubt about wicket and Html

2010-05-18 Thread Victor_Trapiello

Thank you very much guys
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Small-doubt-about-wicket-and-Html-tp2220418p2221787.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



Re: Small doubt about wicket and Html

2010-05-18 Thread nicolas melendez
you should use HTML/CSS for desing and java for GUI logic, like make
something invisible or visible.


On Tue, May 18, 2010 at 4:36 PM, Victor_Trapiello vic...@trapiello.netwrote:


 Thank you very much guys
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Small-doubt-about-wicket-and-Html-tp2220418p2221787.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




-- 
NM (Nicolás Meléndez)
Java Software Developer

A) Google App Engine works:

1) http://www.clasificad.com.ar - Local free classifieds for  housing, sale,
services, local community, curses,jobs, and events - GAE/J + Wicket + YUI

2) http://www.chessk.com - Massive multiplayer chess online - GAE/J +
Applets + Wicket

B) Linkedin: http://ar.linkedin.com/in/nicolasmelendez


Small doubt about wicket and Html

2010-05-17 Thread Victor_Trapiello

Hello guy;

I´m in Spain 12.0 o´clock nothing to do and before falling a sleep I
wonder... is there any method / way to hidde wicket items/componentes direct
in the html code¿? I mean now I do not want to show an image, in my java
code I say bablablabla myLabelWithImage.SetVisible(false);

can we do something similar like in php or strutsc, like puting ablock of
html and at the beginning one conditions intead putting everything in the
java code¿?

Thank you very much guys!

Victor Trapiello
www.trapiello.net
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Small-doubt-about-wicket-and-Html-tp2220418p2220418.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



Re: Small doubt about wicket and Html

2010-05-17 Thread Jeremy Thomerson
You can not do it directly in HTML - it breaks the separation of concerns.
 But, you can create a WebMarkupContainer, set the visibility on it, and
nest your HTML within it.  Then you can control the visibility for that
entire block with only the single component.  Also, see wicket:enclosure.

--
Jeremy Thomerson
http://www.wickettraining.com



On Mon, May 17, 2010 at 4:41 PM, Victor_Trapiello vic...@trapiello.netwrote:


 Hello guy;

 I´m in Spain 12.0 o´clock nothing to do and before falling a sleep I
 wonder... is there any method / way to hidde wicket items/componentes
 direct
 in the html code¿? I mean now I do not want to show an image, in my java
 code I say bablablabla myLabelWithImage.SetVisible(false);

 can we do something similar like in php or strutsc, like puting ablock of
 html and at the beginning one conditions intead putting everything in the
 java code¿?

 Thank you very much guys!

 Victor Trapiello
 www.trapiello.net
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Small-doubt-about-wicket-and-Html-tp2220418p2220418.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