You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dwi ardi irawan <pe...@gmail.com> on 2008/11/23 20:30:45 UTC
EmittingRSSFeeds Using Tapestry 5.0.16
have somebody tried integrating rome using tapestry 5....?
i read on wiki :
http://wiki.apache.org/tapestry/EmittingRSSFeeds
but when i tried it. it broken cos lot's of deprecated method and
annotation....
like :
@InjectObject( "infrastructure:markupWriterSource" )
@Parameter( defaultValue = "literal:rss_2.0" )
etc....
could somebody help me ?
thnx u very much...
--
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"
Re: EmittingRSSFeeds Using Tapestry 5.0.16
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Mon, 24 Nov 2008 04:15:03 -0300, dwi ardi irawan
<pe...@gmail.com> escreveu:
> could you give a simple example how to use StreamResponse or any lint
> that provide that information...
It's about generating PDFs with iText, but the same concept applies to any
other file you generate on the fly:
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: EmittingRSSFeeds Using Tapestry 5.0.16
Posted by dwi ardi irawan <pe...@gmail.com>.
could you give a simple example how to use StreamResponse or any lint
that provide that information...
thnx u very much
On 11/24/08, Thiago H. de Paula Figueiredo <th...@gmail.com> wrote:
> Em Sun, 23 Nov 2008 16:30:45 -0300, dwi ardi irawan
> <pe...@gmail.com> escreveu:
>
>> have somebody tried integrating rome using tapestry 5....?
>> i read on wiki :
>> http://wiki.apache.org/tapestry/EmittingRSSFeeds
>> but when i tried it. it broken cos lot's of deprecated method and
>> annotation....
>> like :
>>
>> @InjectObject( "infrastructure:markupWriterSource" )
>> @Parameter( defaultValue = "literal:rss_2.0" )
>
> That wiki pages is about Tapestry 4.x, not Tapestry 5, and they are
> implemented in very different ways.
> A way to do a Rome integration (or any other integration with packages
> that generate output) is to create a page that returns a StreamResponse on
> it onActivate method.
> (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/StreamResponse.html).
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: EmittingRSSFeeds Using Tapestry 5.0.16
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Sun, 23 Nov 2008 16:30:45 -0300, dwi ardi irawan
<pe...@gmail.com> escreveu:
> have somebody tried integrating rome using tapestry 5....?
> i read on wiki :
> http://wiki.apache.org/tapestry/EmittingRSSFeeds
> but when i tried it. it broken cos lot's of deprecated method and
> annotation....
> like :
>
> @InjectObject( "infrastructure:markupWriterSource" )
> @Parameter( defaultValue = "literal:rss_2.0" )
That wiki pages is about Tapestry 4.x, not Tapestry 5, and they are
implemented in very different ways.
A way to do a Rome integration (or any other integration with packages
that generate output) is to create a page that returns a StreamResponse on
it onActivate method.
(http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/StreamResponse.html).
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org