The Enhanced Faces Component - "Link - Command" (<h:commandLink> tag) item does not work in a JSF 1.x portlet project on WebSphere Portal Server V8.0

Technote (FAQ)


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:

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Application Developer for WebSphere Software
Portal / Portlet Development

Software version:

8.5, 8.5.1, 8.5.5, 9.0, 9.0.1

Operating system(s):

Windows

Reference #:

1643842

Modified date:

2014-04-23

Translate my page

Machine Translation

Content navigation