RE: Assigning an Action to an onClick handler

2008-12-18 Thread Heikki Uotinen
Maybe MetaDataRoleAuthorizationStrategy.authorize(link3, Component.ENABLE, ADMIN); -Heikki -Original Message- From: Arie Fishler [mailto:arie@gmail.com] Sent: 18. joulukuuta 2008 16:08 To: users@wicket.apache.org Subject: Assigning an Action to an onClick handler We are using the

Re: Assigning an Action to an onClick handler

2008-12-18 Thread Heikki Uotinen
Maybe something like MetaDataRoleAuthorizationStrategy.authorize(link3, Component.ENABLE, ADMIN); -Heikki -Original Message- From: Arie Fishler [mailto:arie@gmail.com] Sent: 18. joulukuuta 2008 16:08 To: users@wicket.apache.org Subject: Assigning an Action to an onClick handler We

Re: Assigning an Action to an onClick handler

2008-12-18 Thread Arie Fishler
Basically we have no problem assigning logic to disable the link when creating the page. What we want to achieve via the authorization strategy is a redirect to the sign in page just the same as if a user has accessed a page with no sufficient roles (so the user signs in and upon successful