Re: Question tapestry service

2012-08-20 Thread George Christman
Thanks Thiago. This has really helped me a lot. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Question-tapestry-service-tp5715573p5715628.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Question tapestry service

2012-08-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 Aug 2012 14:37:49 -0300, George Christman wrote: Okay Few more minor questions on this and I think I'll be good to go. 1. If I declared ImportTask as a service, could I use it as a list as well? Example @Inject private List importTask; No. You can, however, have something l

Re: Question tapestry service

2012-08-20 Thread George Christman
On Mon, Aug 20, 2012 at 1:13 PM, Thiago H de Paula Figueiredo [via Tapestry] wrote: > On Mon, 20 Aug 2012 12:36:34 -0300, George Christman > <[hidden email] > > wrote: > > > public static SomeService someServiceBuilder(Service1 service1, Servi

Re: Question tapestry service

2012-08-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 Aug 2012 12:36:34 -0300, George Christman wrote: public static SomeService someServiceBuilder(Service1 service1, Service2 service2) { return new SomeService(service1, service2); } This can be replaced by binder.bind(). and returns a new Class(service1, service2). I wasn't awar

Re: Question tapestry service

2012-08-20 Thread George Christman
My apology, correcting a few things in my example, was being rushed for lunch. On Mon, Aug 20, 2012 at 11:36 AM, George Christman wrote: > > > On Mon, Aug 20, 2012 at 11:06 AM, Thiago H de Paula Figueiredo [via > Tapestry] wrote: > >> On Mon, 20 Aug 2012 11:16:28 -0300, George Christman >> <[hid

Re: Question tapestry service

2012-08-20 Thread George Christman
On Mon, Aug 20, 2012 at 11:06 AM, Thiago H de Paula Figueiredo [via Tapestry] wrote: > On Mon, 20 Aug 2012 11:16:28 -0300, George Christman > <[hidden email] > > wrote: > > > He say's what I'm calling a factory is actually a service locator an

Re: Question tapestry service

2012-08-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 Aug 2012 11:16:28 -0300, George Christman wrote: He say's what I'm calling a factory is actually a service locator and that AutoMateParser should be defined as a service in the AppModule. Yep . . . He also stated the objects I use to pass in through the constructor now need t

Re: Question tapestry service

2012-08-20 Thread George Christman
So I spent sometime with a fellow coworker this morning, "non tapestry developer, but spring developer" and we discussed these issues I ran into over the weekend. He was able to provide me with some basic info enabling me to overcome the majority of my issues and understandings, but still a little

Re: Question tapestry service

2012-08-19 Thread George Christman
Hi Richard, I'll try and explain what the code does so youll be better able to help me. The dmsimport.class has a for loop that calls a method containing Parser parser = DMSFactory.getParser. From the for loop, I pass into the factory which parser were going to use. AutoMateParser is actually a cus

Re: Question tapestry service

2012-08-19 Thread Richard Frovarp
On 08/18/2012 05:36 PM, George Christman wrote: I have a few questions about the tapestry services. I'd like to be able to Inject services in these classes, however I'm a little confused. I understand if you want to be able to Inject a service, you must first bind the service in the app module. H