On Mon, Aug 11, 2008 at 10:58 AM, hannehomuth <[EMAIL PROTECTED]> wrote:
>
>
> And it works quiet well. But now I want to insert some ServerSide generated
> pages. I thought I could use a tile as single, you now this way:
>

[snip]

> <tiles:insertAttribute name = "common_menu"/>
>        THE CALL TO THE SERVELET GOES HERE
> <tiles:insertAttribute name = "footer"/>

It sounds like you might need to think about using a View Preparer
rather than a servlet. See here in the tutorial:

    http://tiles.apache.org/tutorial/advanced/preparer.html

and here in the Javadoc:

    
http://tiles.apache.org/2.0/framework/apidocs/org/apache/tiles/preparer/ViewPreparer.html

and...

    
http://tiles.apache.org/2.0/framework/apidocs/org/apache/tiles/preparer/ViewPreparerSupport.html

>
> Does anyone can give me an good example how to insert some NON TILES (in my
> case only one) between some TILES ????

To my knowledge there's not a good way to "call" a servlet from a
tile. I'm sure it could be done, but I can't think of a *good* way :-)
If you can move the servlet code into a view preparer I think you will
be happier with the result.

HTH,
Greg

Reply via email to