Page 1 of 1

MyFaces compatibility - title not appearing

Posted: 19 Jul 2018, 17:25
by erickdeoliveiraleal
I'm trying to migrate my application to MyFaces 2.3.1
The title defined here

Code: Select all

<ui:define name="title">My title</ui:define>
only appears on Mojarra.

Re: MyFaces compatibility - title not appearing

Posted: 20 Jul 2018, 10:49
by mert.sincan
Please add the following context-param into web.xml;

Code: Select all

<context-param>
    <param-name>org.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY</param-name>
    <param-value>true</param-value>
  </context-param>

Re: MyFaces compatibility - title not appearing

Posted: 21 Jul 2018, 21:47
by erickdeoliveiraleal
aragorn wrote:
20 Jul 2018, 10:49
Please add the following context-param into web.xml;

Code: Select all

<context-param>
    <param-name>org.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY</param-name>
    <param-value>true</param-value>
  </context-param>
thanks!

Re: MyFaces compatibility - title not appearing

Posted: 23 Jul 2018, 11:12
by mert.sincan
You're welcome!