I have a similar problem with stream redirection, but the problem is not
related to browser. When i use the example codes in
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent
i got a stream redirection exception which is thrown from line 63 of
http://tapestry.apache.org/tapestry5.2-dev/tapestry-core/cobertura/org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.html
.
The code seems right but i somehow get this exception. I maybe missing a
detail, but i use exactly the same code snippets at the wiki.

As you say, should i return the response at the onActivate() ?
I use Tapestry tapestry version 5.1.0.5.



-----Original Message-----
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
Sent: Wednesday, August 18, 2010 6:09 PM
To: Tapestry users
Subject: Re: generated image not showing up in IE7

On Wed, 18 Aug 2010 11:53:57 -0300, Steve Duran <ste...@newmexicomutual.com>
wrote:

>  Hello,

Hi!

>  The original webapp worked by referencing the URL of the servlet that
> generated the image in the "src" attribute of the <img> tag, which is
> similar to the way the Tapestry example does it.  The difference is
> that when I view the page in IE in the servlet implementation, the
> image is displayed, but when I view it in the Tapestry implementation, it
isn't.
>  Any suggestions would be appreciated.

You can use the StreamResponse in the same way in the wiki, but creating a
page class that returns the StreamResponse on its onActivate() method.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
instructor Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to