You always add all the links and then decide for each link if it should display or not. You can do this manually by having the isVisible method of your link check for an admin user or you can defer this to your security framework, swarm for instance automatically hides "secure" links.
http://wicketstuff.org/wicketsecurity/ http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security Maurice On Jan 27, 2008 12:45 AM, mgiedt <[EMAIL PROTECTED]> wrote: > > Suppose I have two users, one with admin rights and one without. How do I > remove the 'admin' link from my application when the non-admin logs in? > > Something similar to the TabbedPanel where I can dynamically create > individual tabs, how do I dynamically create a list of links? > > With thanks, > -Matt > -- > View this message in context: > http://www.nabble.com/Dynamic-Link-Generation-tp15114204p15114204.html > 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]