Hi,

Has anyone noticed some strange rearrangement of jsf and html when using
tiles? All the non jsf produced output seems to gather at the end of the
included page, which is totally unacceptable. Consider the following jsf
code, which includes another jsf page:
---cut---
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"; %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"; %>
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"%>
<f:view>
        <f:subview id="banner">
                <tiles:insert attribute="bla" flush="false"/>
        </f:subview>
</f:view>
---cut---
and contents of the included file looks like this:
---cut---
<h1>header1</h1>
<f:verbatim>jsf in the middle</f:verbatim>
<h2>header2</h2>
---cut---
would produce the following output (where the first two lines should be in
the reverse order):
---cut---
jsf in the middle 
<h1>header1</h1>
<h2>header2</h2>
---cut---

It seems to work alright if I substitute all the pure html tags [html tag]
for <f:verbatim>[html tag]</f:verbatim>

Thanks in advance,
Dimo

PS. I did not copy/paste the sources above, but wrote them by memory. If it
helps I could post some working example files.

Reply via email to