Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
n <[hidden > > email]<http://user/SendEmail.jtp?type=node&node=5701323&i=1>> > wrote: > >> Thanks guys, I wasn't aware we could use tapestry inject outside of > pages > > and > >> components. > >> > >> --

Re: Using generics in tapestry service.

2012-05-10 Thread Howard Lewis Ship
e we could use tapestry inject outside of pages > and >> components. >> >> -- >> View this message in context: > http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp57003

Re: Using generics in tapestry service.

2012-05-10 Thread Lance Java
try.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700938.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.

Re: Using generics in tapestry service.

2012-05-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 May 2012 14:04:17 -0300, George Christman wrote: Thanks guys, I wasn't aware we could use tapestry inject outside of pages and components. Tapestry-IoC (which is independent of Tapestry-Core, which is the web framework) is able to inject services into any object created by T

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
Thanks guys, I wasn't aware we could use tapestry inject outside of pages and components. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700938.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Using generics in tapestry service.

2012-05-10 Thread Howard Lewis Ship
dateDoSomethingClass") > private DoSomethingClass dateDoSomethingClass; > > @Inject @Named("userDoSomethingClass") > private DoSomethingClass userDoSomethingClass; > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Using-generics-

Re: Using generics in tapestry service.

2012-05-10 Thread Taha Hafeez Siddiqi
t; in > http://tapestry.apache.org/defining-tapestry-ioc-services.html > > however that example seemed like one interface implementing different > classes, where as I have one interface implementing one class, ie the > generic. > > Any thoughts or suggestions? > > -- &g

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
menting different classes, where as I have one interface implementing one class, ie the generic. Any thoughts or suggestions? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700861.html Sent from the Tapestry - User mailing l

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
Thanks guys, I figured it out. I completely missed the "build" in your example. Anyhow works like a charm. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700785.html Sent from the Tapestry - User mailing li

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700732.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: Using generics in tapestry service.

2012-05-10 Thread Lance Java
de I gave you, the method is called "buildUserDoSomethingClass()". Here's some documentation on builder methods: http://tapestry.apache.org/application-module-class-cheat-sheet.html#ApplicationModuleClassCheatSheet-Servicebuildermethods -- View this message in context: http://tapestr

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
ssage in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700665.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: Using generics in tapestry service.

2012-05-10 Thread Taha Hafeez Siddiqi
I guess if this isn't possible, I'll just have to do this a different way. I > at least wanted to try your suggestion first. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700581.html

Re: Using generics in tapestry service.

2012-05-10 Thread Lance Java
You need to call the method "build" where is the name of the service. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700637.html Sent from the Tapestry - User mailing list archive at

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
(Launcher.java:352) 2012-05-10 11:24:04.723:INFO::Started SelectChannelConnector@0.0.0.0:8080 Started Jetty Server -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700626.html Sent from the Tapestry - User mailing list archive at

Re: Using generics in tapestry service.

2012-05-10 Thread Lance Java
message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700605.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
suggestion first. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700581.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscri

Re: Using generics in tapestry service.

2012-05-10 Thread Lance Java
abble.com/Using-generics-in-tapestry-service-tp5700399p5700569.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

Re: Using generics in tapestry service.

2012-05-10 Thread George Christman
1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700509.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional comman

Re: Using generics in tapestry service.

2012-05-10 Thread Taha Hafeez Siddiqi
ingClass as a generic. I'd like > to continue using this as a tapestry service if possible. > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399.html > Sent from the Tapestry - User mailing list archive at Na

Re: Using generics in tapestry service.

2012-05-10 Thread Lance Java
@Named("dateDoSomethingClass") private DoSomethingClass dateDoSomethingClass; @Inject @Named("userDoSomethingClass") private DoSomethingClass userDoSomethingClass; -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp57003

Using generics in tapestry service.

2012-05-10 Thread George Christman
, private DoSomethingClass user = new DoSomethingClass() { } How do I pass my User entity into my DoSomethingClass as a generic. I'd like to continue using this as a tapestry service if possible. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-se