Em Sun, 23 Nov 2008 16:30:45 -0300, dwi ardi irawan
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]