That was my last solution, because i hoped it could be integrated with the auth-roles so i didn't have to check the role myself. Because if i'm right, before adding the tab to the list, i check with the role from the user's session?
igor.vaynberg wrote: > > On Nov 26, 2007 6:56 AM, Marieke Vandamme <[EMAIL PROTECTED]> wrote: > >> I don't want the tab to be >> printed if the user is not authorized. > > so dont add it to the list of itabs you give the panel... ? > > -igor > >> >> >> >> Fridolin Jackstadt wrote: >> > >> > Marieke Vandamme schrieb: >> >> Hello, >> >> >> >> Is it possible to use TabbedPanel from wicket extensions together with >> >> the >> >> wicket auth-roles? >> >> >> >> Because TabbedPanel contains AbstractTab (which do not extend >> Component), >> >> I >> >> didn't find a way to set the specific roles for each tab. >> >> >> >> Thanks ! >> >> >> > Hello, >> > AbstractTab contains a Panel that extends Components. Try adding the >> > annotation to the Panel. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/TabbedPanel-%2B-authorization-strategy-tf4875256.html#a13951278 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/TabbedPanel-%2B-authorization-strategy-tf4875256.html#a13965570 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]