On Nov 28, 2007 3:50 PM, Kristian Marinkovic wrote:
> hi lars,
>
> return an instance of StreamResponse:
>
> StreamResponse onActivate(String context) {
> return new StreamResponse() {
> // implement interface
> public String getContentType() {
>
On Nov 28, 2007 7:46 PM, Josh Canfield wrote:
> You can use: @Meta("tapestry.response-content-type=text/xml") on your page
> class.
Thanks, that seems to work for me.
> Although XML is not fully supported by tapestry at the moment. You may run
> into problems with invalid xml being generated if o
You can use: @Meta("tapestry.response-content-type=text/xml") on your page
class.
Although XML is not fully supported by tapestry at the moment. You may run
into problems with invalid xml being generated if one of your elements
matches an HTML element such as link or img which will render the openi
hi lars,
return an instance of StreamResponse:
StreamResponse onActivate(String context) {
return new StreamResponse() {
// implement interface
public String getContentType() {
return"application/x-java-jnlp-file";
}