Then you need as johan and i both said: authorize on the link click just have your strategy check the ENABLE action in the isActionAuthorized method for those tab links. there you should check if they have enough points and if not throw an exception to redirect the to a page explaining why they can not click on that tab.
Also i think you should put this same check on the RENDER action that way once it has been established the user does not have enough points the tab won't show up again. Maurice On 3/14/06, R.A <[EMAIL PROTECTED]> wrote: > > Hi Maurice and Johan, > > I understand you both. > I spell out. > One of my authenticate logic is whether logged in user can to use my > services, for example the user has enough points or not. > If user's points are not enough, I shut the user out of some service. > User's points are in the database and fluctuant by another system. > So I want to check user's points every time user accesses a page and tab > panel. > Even if when the user accesses "first tab" the user's points are enough, the > user's points may not enough when the user accesses "second tab". > I want to authenticate every click tab link. > > Thank you. > R.A > -- > View this message in context: > http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3394354 > 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
