Re: IAuthorizationStrategy and DropDownChoice

2007-10-17 Thread Igor Vaynberg
to:[EMAIL PROTECTED] > > Sent: Mittwoch, 17. Oktober 2007 09:07 > > To: users@wicket.apache.org > > Subject: Re: IAuthorizationStrategy and DropDownChoice > > > > Did you notice this method in AbstractChoice? > > protected boolean isDisabled(final Object object, i

RE: IAuthorizationStrategy and DropDownChoice

2007-10-17 Thread Maeder Thomas
p with your authorization code sprinkled around your project instead of a single point. Thomas > -Original Message- > From: Maurice Marrink [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 17. Oktober 2007 09:07 > To: users@wicket.apache.org > Subject: Re: IAuthorizationStrateg

Re: IAuthorizationStrategy and DropDownChoice

2007-10-17 Thread Maurice Marrink
Did you notice this method in AbstractChoice? protected boolean isDisabled(final Object object, int index, String selected) It is designed to do exactly what you want. In Wicket 1.3 only, in wicket 1.2 you need to override protected void appendOptionHtml(AppendingStringBuffer buffer, Object choice