Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
Sven Homburg schrieb: a velocity service is also implemented but not documented but use the same service interface http://87.193.218.134:8080/t5components/t5c-contrib/ Oh, I will take a look at that. Thank you!

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Sven Homburg
a velocity service is also implemented but not documented but use the same service interface http://87.193.218.134:8080/t5components/t5c-contrib/ 2008/4/19, Michael Gerzabek <[EMAIL PROTECTED]>: > > nille hammer sch

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
nille hammer schrieb: Hi Michael, I have tried your suggestion. In my environment (5.0.11) it does not work. Even with explicit id "Messages" provided, the ioc-container throws a RuntimeException complaining that Messages is not a defined service. You must have done sth. else to make your sug

Re: Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Peter Beshai
t; > "bookings/Summary" is the logical name of the page that holds the messages > needed for assembly of the email. I am thinking about implementing a "page" > ConfirmationMail that serves the only purpose to hold the messages. May be I > will do that later. > > S

Re: Re: [T5] Sending Email from Tapestry

2008-04-19 Thread nille hammer
---- original Nachricht ---- Betreff: Re: [T5] Sending Email from Tapestry Gesendet: Sa, 19. Apr 2008 Von: Michael Gerzabek<[EMAIL PROTECTED]> > nille, > > maybe you wanna try adding the InjectService annotation. This at least > works for my services. > > public stati

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
PS: Get more infos on T-IOC here: http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html Michael Gerzabek schrieb: nille, maybe you wanna try adding the InjectService annotation. This at least works for my services. public static ConfirmationMailSender buildConfirmationMailSender( @

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
nille, maybe you wanna try adding the InjectService annotation. This at least works for my services. public static ConfirmationMailSender buildConfirmationMailSender( @InjectService("Messages") Messages messages) { return new ConfirmationMailSender(messages); } good morning, Michael hamm

Re: Re: Re: Re: [T5] Sending Email from Tapestry

2008-04-18 Thread nille hammer
Me again, > That is an interface (Messages is not) Huuh!! Bad, faux pas! I have to correct myself in fact Messages IS an interface. But no matter it does not work. Bye - original Nachricht Betreff: Re: Re: Re: [T5] Sending Email from Tapestry Gesendet: Sa, 19. Apr 2008 Von: ni

Re: Re: Re: [T5] Sending Email from Tapestry

2008-04-18 Thread nille hammer
to provide a message catalogue to a service builder method, please do not hesitate to enlight me. Thanks and good night, nillehammer - original Nachricht Betreff: Re: Re: [T5] Sending Email from Tapestry Gesendet: Fr, 18. Apr 2008 Von: Thiago HP<[EMAIL PROTECTED]> > O

Re: [T5] Sending Email from Tapestry

2008-04-18 Thread Sven Homburg
perhaps this helps you http://87.193.218.134:8080/t5components/t5c-contrib/howto_freemarkerservice.html 2008/4/18, nille hammer <[EMAIL PROTECTED]>: > > > Dear List, > > I am currently buidling an ordinary booking application. When a customer > books something I collect everything in a Booking obj

Re: Re: [T5] Sending Email from Tapestry

2008-04-18 Thread Thiago HP
On 4/18/08, nille hammer <[EMAIL PROTECTED]> wrote: > Hi Thiago, Hi, Nille! > thanks for the advice that makes perfect sense! What is left is my first > question, where does Tapestry how to choose the right message catalogue? If I > injected the ConfirmationMailSender in my BookingSummary Pa

Re: Re: [T5] Sending Email from Tapestry

2008-04-18 Thread nille hammer
localized messages into BookingSummary.properties? Thanks and regards, nillehammer - original Nachricht Betreff: Re: [T5] Sending Email from Tapestry Gesendet: Fr, 18. Apr 2008 Von: Thiago HP<[EMAIL PROTECTED]> > On 4/18/08, nille hammer <[EMAIL PROTECTED]> wro

Re: [T5] Sending Email from Tapestry

2008-04-18 Thread Thiago HP
On 4/18/08, nille hammer <[EMAIL PROTECTED]> wrote: > And secondly as far as I understand only services can be parameters to build > methods. Am I wrong or do I have to make my Booking class a service? I suggest you a slightly different approach: create a ConfirmationMailSender service. It will