Hello,

I'm driving crazy with myfaces:

I've got an JSF page with the following content:

<p>
Some HTML tags and text
</p>
<h:outputText value="And here JSF text" />

Let it run and you see
"
Some HTML tags and text
And here JSF text
"
on your browser. That's ok!


Now I wanna make some refactoring and like to put the
content into a subview. The content from above is inlcuded als follow:

<f:subview id="test">
       <jsp:include page="test.jsp" />
 </f:subview>

I let it run again and you see the output messed up (lines are not in order):
"
And here JSF text
Some HTML tags and text
"

When putting <f:verbatim> or <t:htmlTag> around the HTML in the
subview it seems to work.
But that's no adequate way. It messes up you view-code and makes it unreadable!

Why is there a different behavior in subview vs. views?

What is the way to go?????



Thanks and Greetings
Chrisi

Reply via email to