Re: injecting t5 services into spring beans

2009-09-28 Thread gshavit
hiumenti >>> wrote: >>> >>>> Hello, is it possible to inject T5 bound services into Spring beans >>>> >>> >>> I believe this is possible in 5.1.X but not 5.0.X -- what

Re: injecting t5 services into spring beans

2009-05-16 Thread Otho
oops, sorry. Saw just now that it is commented out. My bad. 2009/5/16 Otho > You use the 5.0 legacy mode. It is not possible to inject services into > beans there. > > Remove the following entry or set it to false to enable service injection: > > > > > > > 2009/5/15 Andrea Chiumenti > > I'm tr

Re: injecting t5 services into spring beans

2009-05-16 Thread Otho
You use the 5.0 legacy mode. It is not possible to inject services into beans there. Remove the following entry or set it to false to enable service injection: 2009/5/15 Andrea Chiumenti > I'm trying to integrate T5 with jax-ws-commons > (https://jax-ws-commons.dev.java.net/spring/). > > m

Re: injecting t5 services into spring beans

2009-05-15 Thread Andrea Chiumenti
I'm trying to integrate T5 with jax-ws-commons (https://jax-ws-commons.dev.java.net/spring/). my web.xml is server Tapestry 5 Application tapestry.app-package it.wingstech.gam3.server contextConfigLocation /WEB-INF/applicationContext.x

Re: injecting t5 services into spring beans

2009-05-15 Thread Andrea Chiumenti
T 5.1.0.4 On Fri, May 15, 2009 at 3:45 PM, Geoffrey Wiseman wrote: > On Fri, May 15, 2009 at 9:37 AM, Andrea Chiumenti wrote: > >> Hello, is it possible to inject T5 bound services into Spring beans >> > > I believe this is possible in 5.1.X but not 5.0.X -- what version are you > using? > >  -

Re: injecting t5 services into spring beans

2009-05-15 Thread Geoffrey Wiseman
On Fri, May 15, 2009 at 9:37 AM, Andrea Chiumenti wrote: > Hello, is it possible to inject T5 bound services into Spring beans > I believe this is possible in 5.1.X but not 5.0.X -- what version are you using? - Geoffrey -- Geoffrey Wiseman http://www.geoffreywiseman.ca/

injecting t5 services into spring beans

2009-05-15 Thread Andrea Chiumenti
Hello, is it possible to inject T5 bound services into Spring beans I've followed tapestry-spring instructions, and spring beans are created, but I can't inject my bound services into a spring bean neither via @Inect, nor via @Autowired. How can I do ? is it possible ? Cheers, kiuma ---

Re: Access to T5 Services - how to get a handle on to Registry?

2008-11-03 Thread Joel Halbert
OK, i figured it out, I didn;t realise you can inject services into the contribute methods: something like... public static void contributeBindingSource( MappedConfiguration configuration, BindingSource bindingSource,

Access to T5 Services - how to get a handle on to Registry?

2008-11-03 Thread Joel Halbert
Hi, I am writing a binding for looking up symbols. In my binding factory I need access to the SymbolSource service. How can you access a T5 Service within a class that is not managed by Tap IoC (thus the dependency can not be injected) and does not have access to the ServletContext (thus th

Re: T5: Services Status Page

2008-06-26 Thread Howard Lewis Ship
Perhaps it should be changed, for security reasons. I kind of think it does no harm. On Thu, Jun 26, 2008 at 7:44 AM, Christian Gorbach <[EMAIL PROTECTED]> wrote: > hi, > it seems that the T5 services status page isn't disabled in production mode. > can anyone confi

T5: Services Status Page

2008-06-26 Thread Christian Gorbach
hi, it seems that the T5 services status page isn't disabled in production mode. can anyone confirm this? ${yourapp}/ServiceStatus thx c)hristian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: T5 Services with diferent Implementation

2008-05-20 Thread Thiago HP
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

Re: T5 Services with diferent Implementation

2008-05-20 Thread Christian Edward Gruber
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/

Re: T5 Services with diferent Implementation

2008-05-20 Thread Thiago HP
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

RE: T5 Services with diferent Implementation

2008-05-20 Thread Zheng, Xiahong
@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

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
I'm done! >> >> >> >> HugoPalma wrote: >> >>> Try: >>> >>> @Inject >>> @Service("MyService1") private IMyInterface _CMF; >>> >>> >>> Check the end of this page >>> http://tapest

Re: T5 Services with diferent Implementation

2008-05-20 Thread Hugo Palma
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

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
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

Re: T5 Services with diferent Implementation

2008-05-20 Thread Hugo Palma
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

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
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? >> >

Re: T5 Services with diferent Implementation

2008-05-20 Thread Kheldar666
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

T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
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

Re: T5 Services

2007-07-07 Thread Ben Acker
Thank you very much Howard for the explicit instructions. The most recent quickstart appmodule.java has it in there - I apologize for not having the grey matter to not check that - one can learn a lot from grabbing the source... -Ben On 7/7/07, Ben Acker <[EMAIL PROTECTED]> wrote: Thanks! On

Re: T5 Services

2007-07-07 Thread Ben Acker
Thanks! On 7/7/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: 1) Define your service interface 2) Provide an implementation 3) Inside your AppModule, update the bind() method, i.e. public static void bind(ServiceBinder binder) { binder.bind(MyInterface.class, MyImpl.class); } 4) Inject it

Re: T5 Services

2007-07-07 Thread Howard Lewis Ship
1) Define your service interface 2) Provide an implementation 3) Inside your AppModule, update the bind() method, i.e. public static void bind(ServiceBinder binder) { binder.bind(MyInterface.class, MyImpl.class); } 4) Inject it into your component: @Inject private MyInterface _myService; Tha

T5 Services

2007-07-06 Thread Ben Acker
Howdy! Being somewhat of a T5 noob, I have had troubles getting explicit directions on how to create a service in T5. I'm positive that it is simple, I just can't find anything that says anything explicitly in the mailing lists, documentation, etc. If anyone has the time, please let me know whe