Many thanks Thiago,
this is surprisingly helpful!

Is XML output possible on template level? Having a template with the basic
structure and update it based on parameter values.

BR




Thiago H de Paula Figueiredo-2 wrote:
> 
> On Wed, 31 Oct 2007 09:22:47 -0200, llonely <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi all,
>>
>> I am currently testing tapestry and trying to convert a simple servlet.
>>
>> I have a typical servlet that gets parameters and returns xml
> 
> Generate the XML output using any method you fancy and then return a  
> StreamResponse (in this case, a TextStreamResponse) in your onActivate  
> method. Tapestry 5 will not issue a redirect as it does with normal pages.  
> One example is in Howard's blog:  
> http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html.
>   
> :)
> 
> In previous versions this kind of situation was hard to implement, but in  
> Tapestry 5 it's a piece of cake. :)
> 
> -- 
> Thiago H. de Paula Figueiredo
> Desenvolvedor, Instrutor e Consultor de Tecnologia
> Eteg Tecnologia da Informação Ltda.
> http://www.eteg.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Simple-servlet-with-xml-output---to-tapestry-tf4724274.html#a13509247
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to