Re: clean way to add visibility constraints

2009-04-01 Thread Martijn Dashorst
> have to add the the condition to every component. > > > -Oorspronkelijk bericht- > Van: Daan van Etten [mailto:d...@stuq.nl] > Verzonden: woensdag 1 april 2009 11:20 > Aan: users@wicket.apache.org > Onderwerp: Re: clean way to add visibility constraints > > You could

RE: clean way to add visibility constraints

2009-04-01 Thread Boydens Joeri (OZ)
condition, with the last method I have to add the the condition to every component. -Oorspronkelijk bericht- Van: Daan van Etten [mailto:d...@stuq.nl] Verzonden: woensdag 1 april 2009 11:20 Aan: users@wicket.apache.org Onderwerp: Re: clean way to add visibility constraints You could write

Re: clean way to add visibility constraints

2009-04-01 Thread Daan van Etten
You could write a method that sets the visibility on the relevant components. The Form components have to be visible to that method though (or you have to use a visitor). Regards, Daan Op 1 apr 2009, om 08:32 heeft Boydens Joeri (OZ) het volgende geschreven: Hi, I have this page whe