I would use Spring to configure the type of services you are trying to
provide to your pages. I am wondering if using Tapestry services has any
advantages in this case. 

-----Original Message-----
From: maxthesecond [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 20, 2008 4:29 PM
To: users@tapestry.apache.org
Subject: Re: T5 Services with diferent Implementation


Bless you man!
But wouldn't it be easy if in the docs concerning services a mock
example
will bring you through all the steps needed to do a thing that at the
end is
just merely convention??

If you naively go to look after the page

http://tapestry.apache.org/tapestry5/tapestry-annotations/

and you click to this link for enlightment, then when yo click to any of
the
two links that adress you to tapestry core and tapestry ioc, allegedly
annotations, you get a beautiful  "not found".

I really apreciate your help and in general the comunity, but some rough
edges still are present in the documentation that may potentially scare
new
comers.

I apologise for the rant, but I hope you understand it is only for the
sake
of good.

So: no one can say that tapestry comunity is very responsive, but
sometimes
tapestry it's still a little bit too tricky.

Again thanks a lot.





HugoPalma wrote:
> 
> You should be using org.apache.tapestry.annotations.Service
annotation.
> 
>
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotat
ions/Service.html
> 
> maxthesecond wrote:
>> Almost, but now compiler doesen't know what @Service is.....
>> I've read the documents but they lack a sample of usage from the
client
>> side
>> of the service....don't know witch files I have to include (import)
>> import
>> org.apache.tapestry.ioc.annotations.??
>> thanks a lot ....just one step and I'm done!
>>
>>
>>
>> HugoPalma wrote:
>>   
>>> Try:
>>>
>>> @Inject
>>> @Service("MyService1") private IMyInterface  _CMF;
>>>
>>>
>>> Check the end of this page
>>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/inject.html
>>>
>>>     
>>
>>   
> 
> 

-- 
View this message in context:
http://www.nabble.com/T5-Services-with-diferent-Implementation-tp1734853
4p17350128.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to