Re: Annotations and ComponentRequestFilter Problem

2010-10-25 Thread shinlang
Hi Taha, Hi Thiago, Thanks a lot for your reply, it's working perfectly! And besides, this surely gave me some more basic understanding on how tapestry works. Have a nice day, cheers, Sascha -- View this message in context: http://tapestry.1045711.n5.nabble.com/Annotation

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 12:10:38 -0200, Taha Hafeez wrote: Just move the annotation out of the pages package. This is one of the most common pitfalls Tapestry beginners fall: never never never put something in a pages, components or mixins package that isn't a page, component or mixin. A

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Taha Hafeez
he annotation from > the > page. > > Btw, i'm using Tapestry 5.2... > > Regards, > Sascha > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Annotations-and-ComponentRequestFilte

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
Regards, Sascha -- View this message in context: http://tapestry.1045711.n5.nabble.com/Annotations-and-ComponentRequestFilter-Problem-tp3232159p3232277.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To u

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
, Sascha -- View this message in context: http://tapestry.1045711.n5.nabble.com/Annotations-and-ComponentRequestFilter-Problem-tp3232159p3232236.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 10:25:03 -0200, shinlang wrote: Hi, Hi! I have of course read the article at http://tapestryjava.blogspot.com/2009/12/securing-tapestry-pages-with.html, and i can't see any difference: Component page = componentSource.getPage(pageName); if (! page.getClass().isAnnotat

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Taha Hafeez
names...), it > just doesn't work. > > When i try > > Index.class.isAnnotationPresent(TestAnnotation.class) > > it returns true, just as expected. > > If anyone got a good idea, i'd be very thankful. > > Regards, > Sascha > -- > View this message

Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
-- View this message in context: http://tapestry.1045711.n5.nabble.com/Annotations-and-ComponentRequestFilter-Problem-tp3232159p3232159.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mai