Troubleshooting
Problem
IBM Rational Application Developer for WebSphere Software projects that have the JSF 2.0 Facet and are configured with a User Library cause Facelets published to WebSphere Application Server to display the bare xhtml source code, instead of the expected rendering of the controls on the page.
Symptom
Following the steps in technote 1450184, configure a Dynamic Web Project with the Faces 2.0 Facet and with a User Library.
Symptom 1:
Add a Facelet to the Project, without any JSF controls on this page or any other page in the Project.
Run the page on WebSphere Application Server.
Results:
The xhtml source of the page is shown in the browser, not the expected empty web page.
Symptom 2:
Add one JSF control to the Facelet.
Run the page on WebSphere Application Server.
Results:
A faces-config.xml has been added to the project. It uses the DTD required by JSF 1.x.
The xhtml source of the page is shown in the browser, not the expected web page with the control.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21503733