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/Annotations-and-ComponentRequest
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
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 wrote:
>
>
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
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,
Sas
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
Can you share the code
taha
On Fri, Oct 22, 2010 at 5:55 PM, shinlang wrote:
>
> 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 annotation.
>
> In my Component
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 PROTE
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 j
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
, May 26, 2006 11:55 AM
To: Tapestry users
Subject: Re: annotations
I also tried to use a component that didn't have a jwc file and it seems
that it cannot find the html template.
With the following error : Could not find template for component
SomeComponent in locale en.
Does anyone kno
t;
>
>
> 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
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 to have a component spec, albeit an empty one.
-Alex
Dimitri Taranov wrote:
I am trying to use annotations. To start, I deleted a v
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 cl
EMAIL PROTECTED]
Sent: Friday, May 26, 2006 9:41 AM
To: Tapestry users
Subject: Re: annotations
I believe you still you need to have a component spec, albeit an empty one.
-Alex
Dimitri Taranov wrote:
>I am trying to use annotations. To start, I deleted a very simple
>component specif
I believe you still you need to have a component spec, albeit an empty one.
-Alex
Dimitri Taranov wrote:
I am trying to use annotations. To start, I deleted a very simple
component specification and instead added an annotation @ComponentClass.
Do I just add annotations compile and deploy or d
16 matches
Mail list logo