You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Numa Schmeder <nu...@nsconsult.net> on 2006/06/17 15:39:02 UTC

Using tapestry rendering engine to generate emails outside of the container

Hello,

I am on tapestry 3 but switching to tapestry 4.  I would like to use  
tapestry templating-component system to generate html and text  
emails.  I was wondering how could that be done.  Especially if i  
want to send them outside a web container, how can i initialize a  
tapestry application or library programmatically and ask to render  
pages in a string buffer.  In that way i don't have to rewrite many  
components and i can use them in the web application and in the  
mailing system from command line or scheduled job.  At first i was  
thinking of velocity as a templating engine for my mails, but i need  
to rewrite a lot of presentation and logic.
Do you think it is possible to use tapestry in such a way? and how  
could i render a page in a string for latter use, and initiate  
tapestry outside the web container?

Thank you

Numa



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Using tapestry rendering engine to generate emails outside of the container

Posted by Numa Schmeder <nu...@nsconsult.net>.
Hello,

Thank you very much Ted.

Kind regards

Numa
Le 19 juin 06 à 14:12, Ted Steen a écrit :

> Hi,
> Have a look at this.
> more information can be found in the mailing list
>
> http://mail-archives.apache.org/mod_mbox/tapestry-users/200605.mbox/ 
> %3C34711f1d0605270249i2acbf0dfrb5d329e1509f6de4@mail.gmail.com%3E
>
> 2006/6/19, Numa Schmeder <nu...@nsconsult.net>:
>> Hello,
>>
>> Sorry about that, but i didn't know wich list was most appropriate.
>> But still if anyone could help me i would greatly appreciate.
>> Thanks
>> Numa
>>
>> Le 17 juin 06 à 15:49, James Carman a écrit :
>>
>> > Multi-list, repeated postings is not the way to get help.
>> >
>> > -----Original Message-----
>> > From: Numa Schmeder [mailto:numa@nsconsult.net]
>> > Sent: Saturday, June 17, 2006 9:39 AM
>> > To: Tapestry users; Tapestry development
>> > Subject: Using tapestry rendering engine to generate emails outside
>> > of the
>> > container
>> >
>> > Hello,
>> >
>> > I am on tapestry 3 but switching to tapestry 4.  I would like to  
>> use
>> > tapestry templating-component system to generate html and text
>> > emails.  I was wondering how could that be done.  Especially if i
>> > want to send them outside a web container, how can i initialize a
>> > tapestry application or library programmatically and ask to render
>> > pages in a string buffer.  In that way i don't have to rewrite many
>> > components and i can use them in the web application and in the
>> > mailing system from command line or scheduled job.  At first i was
>> > thinking of velocity as a templating engine for my mails, but i  
>> need
>> > to rewrite a lot of presentation and logic.
>> > Do you think it is possible to use tapestry in such a way? and how
>> > could i render a page in a string for latter use, and initiate
>> > tapestry outside the web container?
>> >
>> > Thank you
>> >
>> > Numa
>> >
>> >
>> >
>> >  
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: dev-help@tapestry.apache.org
>> >
>> >
>> >
>> >  
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: dev-help@tapestry.apache.org
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
>
> -- 
> ted
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Using tapestry rendering engine to generate emails outside of the container

Posted by Numa Schmeder <nu...@euroconsumers.com>.
Thank you very much for your answer.
Regards,

Numa
Le 19 juin 06 à 14:12, Ted Steen a écrit :

> Hi,
> Have a look at this.
> more information can be found in the mailing list
>
> http://mail-archives.apache.org/mod_mbox/tapestry-users/200605.mbox/ 
> %3C34711f1d0605270249i2acbf0dfrb5d329e1509f6de4@mail.gmail.com%3E
>
> 2006/6/19, Numa Schmeder <nu...@nsconsult.net>:
>> Hello,
>>
>> Sorry about that, but i didn't know wich list was most appropriate.
>> But still if anyone could help me i would greatly appreciate.
>> Thanks
>> Numa
>>
>> Le 17 juin 06 à 15:49, James Carman a écrit :
>>
>> > Multi-list, repeated postings is not the way to get help.
>> >
>> > -----Original Message-----
>> > From: Numa Schmeder [mailto:numa@nsconsult.net]
>> > Sent: Saturday, June 17, 2006 9:39 AM
>> > To: Tapestry users; Tapestry development
>> > Subject: Using tapestry rendering engine to generate emails outside
>> > of the
>> > container
>> >
>> > Hello,
>> >
>> > I am on tapestry 3 but switching to tapestry 4.  I would like to  
>> use
>> > tapestry templating-component system to generate html and text
>> > emails.  I was wondering how could that be done.  Especially if i
>> > want to send them outside a web container, how can i initialize a
>> > tapestry application or library programmatically and ask to render
>> > pages in a string buffer.  In that way i don't have to rewrite many
>> > components and i can use them in the web application and in the
>> > mailing system from command line or scheduled job.  At first i was
>> > thinking of velocity as a templating engine for my mails, but i  
>> need
>> > to rewrite a lot of presentation and logic.
>> > Do you think it is possible to use tapestry in such a way? and how
>> > could i render a page in a string for latter use, and initiate
>> > tapestry outside the web container?
>> >
>> > Thank you
>> >
>> > Numa
>> >
>> >
>> >
>> >  
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: dev-help@tapestry.apache.org
>> >
>> >
>> >
>> >  
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: dev-help@tapestry.apache.org
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
>
> -- 
> ted
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Using tapestry rendering engine to generate emails outside of the container

Posted by Ted Steen <te...@gmail.com>.
Hi,
Have a look at this.
more information can be found in the mailing list

http://mail-archives.apache.org/mod_mbox/tapestry-users/200605.mbox/%3C34711f1d0605270249i2acbf0dfrb5d329e1509f6de4@mail.gmail.com%3E

2006/6/19, Numa Schmeder <nu...@nsconsult.net>:
> Hello,
>
> Sorry about that, but i didn't know wich list was most appropriate.
> But still if anyone could help me i would greatly appreciate.
> Thanks
> Numa
>
> Le 17 juin 06 à 15:49, James Carman a écrit :
>
> > Multi-list, repeated postings is not the way to get help.
> >
> > -----Original Message-----
> > From: Numa Schmeder [mailto:numa@nsconsult.net]
> > Sent: Saturday, June 17, 2006 9:39 AM
> > To: Tapestry users; Tapestry development
> > Subject: Using tapestry rendering engine to generate emails outside
> > of the
> > container
> >
> > Hello,
> >
> > I am on tapestry 3 but switching to tapestry 4.  I would like to use
> > tapestry templating-component system to generate html and text
> > emails.  I was wondering how could that be done.  Especially if i
> > want to send them outside a web container, how can i initialize a
> > tapestry application or library programmatically and ask to render
> > pages in a string buffer.  In that way i don't have to rewrite many
> > components and i can use them in the web application and in the
> > mailing system from command line or scheduled job.  At first i was
> > thinking of velocity as a templating engine for my mails, but i need
> > to rewrite a lot of presentation and logic.
> > Do you think it is possible to use tapestry in such a way? and how
> > could i render a page in a string for latter use, and initiate
> > tapestry outside the web container?
> >
> > Thank you
> >
> > Numa
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
ted

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Using tapestry rendering engine to generate emails outside of the container

Posted by Numa Schmeder <nu...@nsconsult.net>.
Hello,

Sorry about that, but i didn't know wich list was most appropriate.
But still if anyone could help me i would greatly appreciate.
Thanks
Numa

Le 17 juin 06 à 15:49, James Carman a écrit :

> Multi-list, repeated postings is not the way to get help.
>
> -----Original Message-----
> From: Numa Schmeder [mailto:numa@nsconsult.net]
> Sent: Saturday, June 17, 2006 9:39 AM
> To: Tapestry users; Tapestry development
> Subject: Using tapestry rendering engine to generate emails outside  
> of the
> container
>
> Hello,
>
> I am on tapestry 3 but switching to tapestry 4.  I would like to use
> tapestry templating-component system to generate html and text
> emails.  I was wondering how could that be done.  Especially if i
> want to send them outside a web container, how can i initialize a
> tapestry application or library programmatically and ask to render
> pages in a string buffer.  In that way i don't have to rewrite many
> components and i can use them in the web application and in the
> mailing system from command line or scheduled job.  At first i was
> thinking of velocity as a templating engine for my mails, but i need
> to rewrite a lot of presentation and logic.
> Do you think it is possible to use tapestry in such a way? and how
> could i render a page in a string for latter use, and initiate
> tapestry outside the web container?
>
> Thank you
>
> Numa
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


RE: Using tapestry rendering engine to generate emails outside of the container

Posted by James Carman <ja...@carmanconsulting.com>.
Multi-list, repeated postings is not the way to get help.

-----Original Message-----
From: Numa Schmeder [mailto:numa@nsconsult.net] 
Sent: Saturday, June 17, 2006 9:39 AM
To: Tapestry users; Tapestry development
Subject: Using tapestry rendering engine to generate emails outside of the
container

Hello,

I am on tapestry 3 but switching to tapestry 4.  I would like to use  
tapestry templating-component system to generate html and text  
emails.  I was wondering how could that be done.  Especially if i  
want to send them outside a web container, how can i initialize a  
tapestry application or library programmatically and ask to render  
pages in a string buffer.  In that way i don't have to rewrite many  
components and i can use them in the web application and in the  
mailing system from command line or scheduled job.  At first i was  
thinking of velocity as a templating engine for my mails, but i need  
to rewrite a lot of presentation and logic.
Do you think it is possible to use tapestry in such a way? and how  
could i render a page in a string for latter use, and initiate  
tapestry outside the web container?

Thank you

Numa



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org