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:

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Taha Hafeez
Can you share the code taha On Fri, Oct 22, 2010 at 5:55 PM, shinlang sascha.hinl...@gameforge.dewrote: Hi, i'm having a problem using custom annotations and a ComponentRequestFilter. I am defining my own class annotation (TestAnnotation) and a test class (Index) that uses this

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Oct 2010 10:25:03 -0200, shinlang sascha.hinl...@gameforge.de 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

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
Hi taha, you can find an example project here: http://satansoft.de/tapestry/annotationtest.zip It uses a very simple setup to show the problem. In TestFilter.java in the annotationTest() method you can see that the upper test case is not working, but the lower case is working well. Regards,

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread shinlang
Hi Thiago, thanks for your reply. I will certainly give that a try, but i won't be in the office until monday. I'm not sure, if i stated my problem right (as i'm quite new to tapestry). I am not dynamically adding the annotation to the class, as far as i can see, so getting it from the component

Re: Annotations and ComponentRequestFilter Problem

2010-10-22 Thread Taha Hafeez
Just move the annotation out of the pages package. Although I don't know the internals of tapestry that well but I think because pages and components packages have live reloading they may be loaded from different classloaders... regards Taha On Fri, Oct 22, 2010 at 7:19 PM, shinlang

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 tawus.tapes...@gmail.com 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,

Re: Annotations and translators

2006-10-04 Thread Mael Caldas
SORRY Such a dumb I'm! The binding declaration was wrong... ;) Mael On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: Hi, I wan to to declare a DatePicker component with annotations. I just passed the component from .page, to java the corresponding java class, but I got a parse exception,

Re: Annotations and translators

2006-10-04 Thread Jesse Kuhnert
Not dumb, that's what this list is for. :) On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: SORRY Such a dumb I'm! The binding declaration was wrong... ;) Mael On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: Hi, I wan to to declare a DatePicker component with annotations. I just

Re: Annotations and translators

2006-10-04 Thread Mael Caldas
hehehehe thanks! :) On 10/4/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: Not dumb, that's what this list is for. :) On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: SORRY Such a dumb I'm! The binding declaration was wrong... ;) Mael On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote:

RE: annotations

2006-05-26 Thread James Carman
=com.myco.web.component/ /application So, tapestry will look in those packages for pages/components. Hope that helps. James -Original Message- From: Alex Kartashev [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 9:41 AM To: Tapestry users Subject: Re: annotations I believe you still you need

RE: annotations

2006-05-26 Thread Dimitri Taranov
Thx, that worked -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 9:44 AM To: 'Tapestry users' Subject: RE: annotations You don't need an empty spec, but you do need to tell tapestry where to find your page/component classes. In your