dammit johan why did you have to reply so fast, i was writing an entire novel :P Well perhaps i can elaborate some more on your short answer. isInstantiationAuthorized is only called when the constructor is used. So if you created all the tabs up front in your page's constructor they won't get called when you change panels. If you create the new panel when you switch panels it should work, but like johna said you are better of not showing the link that will switch to that panel at all. to do that you need to use the isActionAuthorized method from the IAuthorisation strategy and check for an action of RENDER on that link. Or if you do want to show the link just not be able to click it you should check for ENABLE.
Maurice On 3/14/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > then you already did create that panel > But in my eyes the problem is earlier.. Why can you click on the link that > makes that tab panel visible? > The link shouldn't be there.. > > johan > > > > On 3/14/06, R.A <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have a question about IAuthorizationStrategy. > > I create a class for authentication that implements > IAuthorizationStrategy. > > "isInstantiationAuthorized" in the class is not called when jump one Panel > > to another Panel using TabbedPanel in one WebPage class. > > I want to autenticate when using TabbedPanel too. > > How do I do? > > > > I use wickt1.2-beta1. > > > > Thank you. > > R.A > > -- > > View this message in context: > http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3393074 > > Sent from the Wicket - User forum at Nabble.com. > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
