Re: Where is the Path annotation
In T5.04 you can find it. 2007/5/2, Joshua Jackson [EMAIL PROTECTED]: Dear all, I wanted to try the guide on assets located here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html But the problem is I can not find @Path anywhere in my tapestry library. Currently I am using the latest tapestry5 (5.0.3) that is downloaded from maven repo. But then the javadoc is available here: http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/annotations/Path.html Have I got something wrong here? Can somebody give me a hint on this? Thanks in advance, joshua -- Chinese name:徐 依伟 English name: will
Re: Where is the Path annotation
Hi Josh, the Path annotation was introduced post 5.0.3; the online docs reflect the bleeding edge. For 5.0.3 and prior, passing a string parameter (the path to your asset) to the @Inject annotation serves the same purpose: @Inject(resources/some_image.gif) private Asset _someImage; Robert On May 6, 2007, at 5/61:05 AM , Donyee wrote: In T5.04 you can find it. 2007/5/2, Joshua Jackson [EMAIL PROTECTED]: Dear all, I wanted to try the guide on assets located here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html But the problem is I can not find @Path anywhere in my tapestry library. Currently I am using the latest tapestry5 (5.0.3) that is downloaded from maven repo. But then the javadoc is available here: http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/ apache/tapestry/annotations/Path.html Have I got something wrong here? Can somebody give me a hint on this? Thanks in advance, joshua -- Chinese name:徐 依伟 English name: will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is the Path annotation
Thanks everyone. I will update my tapestry now to 5.0.4 :) Regards, josh On 5/6/07, Robert Zeigler [EMAIL PROTECTED] wrote: Hi Josh, the Path annotation was introduced post 5.0.3; the online docs reflect the bleeding edge. For 5.0.3 and prior, passing a string parameter (the path to your asset) to the @Inject annotation serves the same purpose: @Inject(resources/some_image.gif) private Asset _someImage; Robert On May 6, 2007, at 5/61:05 AM , Donyee wrote: In T5.04 you can find it. -- YM!: thejavafreak Blog: http://www.nagasakti.or.id/roller/joshua/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where is the Path annotation
Dear all, I wanted to try the guide on assets located here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html But the problem is I can not find @Path anywhere in my tapestry library. Currently I am using the latest tapestry5 (5.0.3) that is downloaded from maven repo. But then the javadoc is available here: http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/annotations/Path.html Have I got something wrong here? Can somebody give me a hint on this? Thanks in advance, joshua