2007/11/2, Holger Igel <[EMAIL PROTECTED]>: > > I have a (simple) question: > > I want to use a definition with an inline content. This content contains jsf > tags. > ... > <tiles:putAttribute name="body"> > > <h:outputText value="hOutputText !!!!"></h:outputText> > <h1>test</h1> > <h5>H5</h5> > </tiles:putAttribute>
The problem is that inline content is evaluated and, after that, put as a string in the attribute. In your case, the <h:outputText> needs the <f:view> tag as a parent (if I am not wrong). Since it cannot find it, it throws an exception. The other solution (with the insertion of an URL) it works because it works just like a <jsp:include>: the JSP code is evaluated in the whole evaluation cycle. IOW I think it is not a bug, but a characteristic you have to live with :-( HTH Antonio
