+

Search Tips   |   Advanced Search

JSFCommands


Use Jython to display and modify the Java Server Faces (JSF) implementation.

Use the following command to administer JSF:

 

listJSFImplementation

The listJSFImplementation command displays the JSF implementation and version for a specific application.

Target object

Specify the name of the application of interest. (String, required)

Required parametersNone.

Return value

The command displays the JSF implementation and version. For example, if the command returns "SUNRI1.2", then JSF uses version 1.2 of the Sun Reference Implementation.

Batch mode example usage

Interactive mode example usage

 

modifyJSFImplementation

The modifyJSFImplementation command modifies the JSF implementation for a specific application.

Target object

Specify the name of the application of interest. (String, required)

Required parameters

-implName

Name of the implementation to use. Specify SUNRI1.2 to use the Sun Reference 1.2 Implementation, or specify MyFaces1.2 to use the Apache MyFaces 1.2 project implementation. By default, applications use the Sun Reference Implementation. (String, required)

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage





Related concepts


Java Server Faces
JSP class loading settings

 

Related tasks


Manage Java Server Faces implementations using scripting
Administer applications using scripting

 

Related


JSP and JSF option settings