Reputation: 11
I have been working on migration or JSF application from WAS 6.1 to 7. The application uses JSF 1.1. I made the following changes in web.xml
to make the code compatible with JSF 1.1 as per the forums I referred.
<!-- Added for the compatibility with JSF 1.1 on WAS7 -->
<context-param>
<param-name>com.sun.faces.enableRestoreView11Compatibility</param-name>
<param-value>true</param-value>
</context-param>
<!-- Removed for JSF 1.1 compatibility on WAS 7
<listener>
<listener-class> com.sun.faces.config.ConfigureListener</listener-class>
</listener>
-->
However, there are some pages which contains <hx:jspPanel>
and other hx
components, but those doesn't render correctly. It appears as
!!jsftagmarker!!!!jsftagmarker!! !!jsftagmarker!!!!jsftagmarker!!
Could you please advise how this issue can be resolved? Do I need to upgrade to JSF 1.2 or JSF 2.0 to resolve the issue? Is it possible to resolve the issue without upgrading JSF?
Upvotes: 1
Views: 467
Reputation: 90
basically jsf12 is the requirement here. The similar problem i saw which is posted over 6 years ago with WAS7 and jsf1.1 https://coderanch.com/t/609870/java/hx-jspPanel-rendering gives hint that issues needs a configuration changes.
Here are configuration changes in your webshpere cell:
Now, it should help to pick up the new library and make this tag work well.
if you are having multiple applications depending on different versions keep the checkbox Use an isolated class loader for this shared library
Upvotes: 0