Can someone advise me on how to solve problem causing the following
warning messages to be shown for every single page that I load that uses
a stripes layout.

WARN  Log.java 155 [warn] - Could not clear buffer before rendering a
layout.java.io.IOException: Can't clear
WARN  Log4JLoggerFactory.java 111 [warn] - Tag.SKIP_PAGE was ignored
from a net.sourceforge.stripes.tag.layout.LayoutDefinitionTag tag.

My setup is:

Hardy Heron Ubuntu Linux amd64
Tomcat 5.5
Sun Java 1.5
Stripes 1.4.2

I am using Freemarker templates rather than JSPs.

My Freemarker template (standard.ftl) uses a layout like the following:

[#ftl]
[#assign s=JspTaglibs["http://stripes.sourceforge.net/stripes.tld";] /]
[EMAIL PROTECTED]"layout-definition"] ]
    <html>
        <head>
            <title>${title}</title>
        </head>
        <body>
            <p>Universal page title</p>
            [EMAIL PROTECTED]"layout-component"] name="contents" /]
        </body>
    </html>
[/@]

The Freemarker templates providing the "contents" component of the
layout are like the following:

[#ftl]
[#assign s=JspTaglibs["http://stripes.sourceforge.net/stripes.tld";] /]
[EMAIL PROTECTED]"layout-render"] name="standard.ftl" title="Home"]
    [EMAIL PROTECTED]"layout-component"] name="contents"]
        <p>Page content</p>
    [/@]
[/@]

Any insights into why the warnings are being triggered, what their
consequences are, and how to prevent them would be much appreciated.

Thanks

Geoff S







------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to