wicket:enclosure is the best option On Mon, May 17, 2010 at 7:15 PM, Jeremy Thomerson <[email protected] > 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 <[email protected] > >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: [email protected] > > For additional commands, e-mail: [email protected] > > > > > -- Fernando Wermus. www.linkedin.com/in/fernandowermus
