Question & Answer
Question
Does a command link work in a JavaServer Faces (JSF) 1.x portlet project on IBM WebSphere Portal v8.0 with default JSF implementation?
Cause
The default JSF implementation for WebSphere Portal Server v8.0 is of Apache MyFaces, and the project created for WebSphere Portal V7.0 runtime uses JSF implementation from Sun Microsystems, Inc.
"ReferenceError: myfaces is not defined" is thrown on the firebug when the command link is clicked in a JSF 1.x portlet project on WebSphere Portal Server v8.0.
Answer
The Enhanced Faces Component - "Link - Command" (<h:commandLink> tag) item does not work in a JSF 1.x portlet project published on WebSphere Portal Server v8.0 with default JSF implementation. To make this work you can use following options:
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21643842