Skip to content

Instantly share code, notes, and snippets.

@AshfaqMemon
Created August 31, 2023 09:41
Show Gist options
  • Save AshfaqMemon/bd5a97ed65344ba50efac3a43839e12d to your computer and use it in GitHub Desktop.
Save AshfaqMemon/bd5a97ed65344ba50efac3a43839e12d to your computer and use it in GitHub Desktop.
JSF 2.0 on HCL DX 9.5 and WebSphere Application Server 9.0.5.x
<!-- To allow composite components inside sub directories, as 2.2 has new way for composite components -->
<context-param>
<param-name>org.apache.myfaces.STRICT_JSF_2_ALLOW_SLASH_LIBRARY_NAME
</param-name><param-value>true</param-value>
</context-param>
<!-- Run in compatibility mode with 2.0.
This will enable JSF 2.0 features like inheritance of parent template parameters to child template and many more-->
<context-param>
<param-name>org.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY</param-name>
<param-value>true</param-value>
</context-param>
<!-- Disable caching of JSF.JS as it can cause issue with HCL DX JSF bridge and MyFaces 2.2. Should only be used when PROJECT_STAGE is
set to Production -->
<context-param>
<param-name>org.apache.myfaces.RESOURCE_HANDLER_CACHE_ENABLED</param-name>
<param-value>false</param-value>
</context-param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment