2007/11/5, Holger Igel <[EMAIL PROTECTED]>:
>>
>> javax.servlet.jsp.JspException: Can't write content above <f:view> tag
>> Illegal to flush within a custom tag



> Mmmm...  the <f:view> tag is trying to flush the stream... that's
>strange...
>I don't know much of JSF, is <f:subview> applicable here?

I used <f:subview> as well, but the content wasn't rendered.


>> Is it possible to handle the body content of <tiles:putAttribute> like
the
>> <jsp:include> with an url (your second solution) ? This would be very
nice
>> and avoids using 2 files...



> I meant that was *your* second solution, i.e. when you used:
> <tiles:insertAttribute name="body" value="/body.jsp" />

>Antonio

If I use this solution, I have to create two files: the
"<tiles:insertDefinition>"-file and the "content"-file(body.jsp). I wanted
to merge these two files. Any idea ?

Reply via email to