myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Myfaces Wiki] Update of "Tiles and JSF" by Pedro Rosón Fernández
Date Sat, 11 Feb 2006 18:42:34 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by Pedro Rosón Fernández:

The comment on the change is:
Minor addition to Out-of-order problems when mixing template text and JSF tags.

  Currently the only solution is to ensure that all output from the included page is generated
by JSF tags. This means wrapping all
  plain text in <f:verbatim> tags, or using the [ htmlib
JSF library] (though that can have performance implications).
+ If <f:verbatim> tag doesn't work you can use <h:outputText> tag to generate
the plain text (with "escape="false"" or chars like '<' or '>' became &lt and &gt).
Example (generating <pre> </pre>):
+ {{{
+   	<h:outputText value="<pre>" escape="false"/> 
+ <h:outputText value="#{DocBacker.document}"/>
+ 	<h:outputText value="</pre>" escape="false"/>
+ }}}
  Note that this is a different issue than the one which causes out-of-order problems when
mixing JSF and non-JSF content within a JSF component which renders its children (eg a Panel).

View raw message