massimo, i ask me sometimes, now i ask you ;-) why do you use the the Restriced annotation not directly your code RestrictedWorker class seach for Restriced class an injected some metas into the page/component after that the AccessValidatorImpl ask for the private meta ??? why not directly work the annotation ?
2008/7/29 Massimo Lusetti <[EMAIL PROTECTED]> > On Tue, Jul 29, 2008 at 1:41 PM, Carl Crowder <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > I'm trying to create an access control system using a dispatcher as > > described on the wiki page. > > > > I'm following this: > > http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess > > So that I can use an annotation to declare which pages need a logged-in > > user. > > > > It checks the meta-data in the component model for a key called > > "private" but it is not being added in my code. As far as I can tell, > > there is no place where annotations on the type get converted into > > meta-data. Am I missing something? Or do I need to implement my own > > ClassTransformWorker to do this? > > Take a look at chenillekit-access module, it does just that. Look for > chenillekit project on googlecode. > > Regards > -- > Massimo > http://meridio.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- with regards Sven Homburg http://tapestry5-components.googlecode.com http://chenillekit.googlecode.com