Re: Toggling Web markup container visibility

2011-10-30 Thread Josh Kamau
It worked perfectly. Thanks for the hint Hans.

Josh

On Sun, Oct 30, 2011 at 11:11 PM, Josh Kamau  wrote:

> thanks.  will try that
>
> On 30 Oct 2011 23:06, "Hans Lesmeister" 
> wrote:
>
> Hi,
>
> You should setOutputMaarkupPlaceholder to true (sorry probably not exactly
> the correct methode name but very similar...)
>
> Tip: do not override isVisible but override onConfigure and then call
> setvisible(...) in there
>
> Cheers
> Hans
>
>
> Am 30.10.11 21:14 schrieb "Josh Kamau" unter :
>
>
> > Hi there;
> >
> > I want to toggle a visibility of a group of components. So i have put
> them
> > in a ...
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Toggling Web markup container visibility

2011-10-30 Thread Josh Kamau
thanks.  will try that

On 30 Oct 2011 23:06, "Hans Lesmeister" 
wrote:

Hi,

You should setOutputMaarkupPlaceholder to true (sorry probably not exactly
the correct methode name but very similar...)

Tip: do not override isVisible but override onConfigure and then call
setvisible(...) in there

Cheers
Hans


Am 30.10.11 21:14 schrieb "Josh Kamau" unter :


> Hi there;
>
> I want to toggle a visibility of a group of components. So i have put them
> in a ...
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


Re: Toggling Web markup container visibility

2011-10-30 Thread Hans Lesmeister
Hi,

You should setOutputMaarkupPlaceholder to true (sorry probably not exactly
the correct methode name but very similar...)

Tip: do not override isVisible but override onConfigure and then call
setvisible(...) in there

Cheers
Hans


Am 30.10.11 21:14 schrieb "Josh Kamau" unter :

> Hi there;
> 
> I want to toggle a visibility of a group of components. So i have put them
> in a WebMarkupContainer and overriden the isVisible method to return the
> value gotten from a check box.
> 
> The webmarkupcontainer is not toggled as expected when i added it to the
> target object. The individual form components get toggled as expected. What
> could be the problem ? is there a better way of grouping form components
> other than a web makup container? in the html file i have a div.
> 
> Regards.
> Josh.



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



Toggling Web markup container visibility

2011-10-30 Thread Josh Kamau
Hi there;

I want to toggle a visibility of a group of components. So i have put them
in a WebMarkupContainer and overriden the isVisible method to return the
value gotten from a check box.

The webmarkupcontainer is not toggled as expected when i added it to the
target object. The individual form components get toggled as expected. What
could be the problem ? is there a better way of grouping form components
other than a web makup container? in the html file i have a div.

Regards.
Josh.