tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "doktora v" <dokt...@gmail.com>
Subject Re: tiles1 - tiles2 migration: insert an action
Date Fri, 16 Nov 2007 21:08:32 GMT
I tried that, but get:

SEVERE: Servlet.service() for servlet org.apache.jsp.testlayout_jsp
threw exception
java.io.IOException: Stream closed
        at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:203)
        at org.apache.jasper.runtime.JspWriterImpl.clearBuffer(JspWriterImpl.java:159)
        at org.apache.jsp.testlayout_jsp._jspService(testlayout_jsp.java:82)
....

and the tile is not inserted but rather the entire result of the
action is rendered in my browser. The action also uses tiles to
display its result.

Should I post my code/setup? It's fairly straightforward and if I call
the action  directly it works fine.



On 11/16/07, Antonio Petrelli <antonio.petrelli@gmail.com> wrote:
> 2007/11/16, doktora v <doktora@gmail.com>:
> > In tiles1 I used to be able to do:
> >
> > <tiles:insert page="/someaction.do">
> > </tiles:insert>
> >
> > How, if at all, is this possible in in Tiles2, i.e. inserting the
> > result of an action as a tile?
>
> Use <tiles:insertTemplate>
> For other info about migration see:
> http://tiles.apache.org/migration/index.html
>
> HTH
> Antonio
>

Mime
View raw message