Re: wicket:enclosure ( setting visible when hidden on render )

2009-10-23 Thread Swanthe Lindgren
Try setOutputMarkupPlaceholderTag(true) on the component withing the 
enclosure.


//Swanthe

Douglas Ferguson wrote:

I have a component that is wrapped with a wicket enclosure.

When the page is rendered I set the component visible(false) which  
make the entire wicket enclosure hidden.


Then I set visible(true) during runtime and at the component to the  
AjaxTarget.


The component is not rendered.

Is there a way to get this to work? Or do I have to explicitly add a  
markup container if i want to start with it hidden and then display  
later?


D/

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


  




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



Re: wicket:enclosure ( setting visible when hidden on render )

2009-10-23 Thread Michael Mosmann
Am Freitag, den 23.10.2009, 09:25 +0200 schrieb Swanthe Lindgren:
 Try setOutputMarkupPlaceholderTag(true) on the component withing the 
 enclosure.

i think, that's not enough.. 
maybe i am wrong, but yes, you should use a markup container for this
kind of stuff.. 

 //Swanthe
 
 Douglas Ferguson wrote:
  I have a component that is wrapped with a wicket enclosure.
 
  When the page is rendered I set the component visible(false) which  
  make the entire wicket enclosure hidden.
 
  Then I set visible(true) during runtime and at the component to the  
  AjaxTarget.
 
  The component is not rendered.
 
  Is there a way to get this to work? Or do I have to explicitly add a  
  markup container if i want to start with it hidden and then display  
  later?
 
  D/
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

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


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



Re: wicket:enclosure ( setting visible when hidden on render )

2009-10-23 Thread James McLaughlin
.


 Then I set visible(true) during runtime and at the component to the
 AjaxTarget.

 The component is not rendered.

 Is there a way to get this to work?



Add the parent component that contains the wicket:enclosure markup to the
AjaxRequestTarget.


wicket:enclosure ( setting visible when hidden on render )

2009-10-22 Thread Douglas Ferguson

I have a component that is wrapped with a wicket enclosure.

When the page is rendered I set the component visible(false) which  
make the entire wicket enclosure hidden.

Then I set visible(true) during runtime and at the component to the  
AjaxTarget.

The component is not rendered.

Is there a way to get this to work? Or do I have to explicitly add a  
markup container if i want to start with it hidden and then display  
later?

D/

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