On 5/20/08, Christian Edward Gruber <[EMAIL PROTECTED]> wrote:
> Wouldn't it be rather normal to create a tapestry-tx that provided
> transaction wrappers around existing services, much the way tapestry-spring
> and tapestry-hibernate do? Especially now that there's a bit more AOP going
> on in T5
Wouldn't it be rather normal to create a tapestry-tx that provided
transaction wrappers around existing services, much the way tapestry-
spring and tapestry-hibernate do? Especially now that there's a bit
more AOP going on in T5.
Christian.
On 20-May-08, at 17:00 , Thiago HP wrote:
On 5/
On 5/20/08, Zheng, Xiahong <[EMAIL PROTECTED]> wrote:
> 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.
1) Tapestry-IoC has a nicer way to describe services (even compared
@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
I'm done!
>>
>>
>>
>> HugoPalma wrote:
>>
>>> Try:
>>>
>>> @Inject
>>> @Service("MyService1") private IMyInterface _CMF;
>>>
>>>
>>> Check the end of this page
>>> http://tapest
You should be using org.apache.tapestry.annotations.Service annotation.
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/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
ep 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
Try:
@Inject
@Service("MyService1") private IMyInterface _CMF;
Check the end of this page
http://tapestry.apache.org/tapestry5/tapestry-core/guide/inject.html
maxthesecond wrote:
> Thanks a lot
> but now I get the following compiler error: The anotation @InjectService is
> disallowed for this
t;Myservice1");
>> binder.bind(IMyInterface.class,MyImplementation2.class).withId("MyService2");
>>
>> But now the question is: How I am suposed to used it from the client
>> side( I mean a page a component)?
>>
>> @Inject MyService1?
>>
>
uot;Myservice1");
> binder.bind(IMyInterface.class,MyImplementation2.class).withId("MyService2");
>
> But now the question is: How I am suposed to used it from the client side(
> I mean a page a component)?
>
> @Inject MyService1?
>
> thanks for the
o used it from the client side( I
mean a page a component)?
@Inject MyService1?
thanks for the answer!
--
View this message in context:
http://www.nabble.com/T5-Services-with-diferent-Implementation-tp17348534p17348534.html
Sent from the Tapestry - User mailing l
11 matches
Mail list logo