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.
> >>
> >> --
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
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.
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
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
dateDoSomethingClass")
> private DoSomethingClass dateDoSomethingClass;
>
> @Inject @Named("userDoSomethingClass")
> private DoSomethingClass userDoSomethingClass;
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Using-generics-
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
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
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
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
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
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
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
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
(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
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.
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
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,
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
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
@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
,
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
22 matches
Mail list logo