
Preparing to extend generated JSF code
Before you can extend generated JSF code for a client, you must update the faces-config.xml file of the client to be enhanced to add support for the new human task.
About this task
When you generate a user interface, a dynamic web project is generated. This project contains the generated artifact, which consists of several Java™ Server Faces (JSF) pages, Java code, and the required configuration files. The artifacts are automatically packaged into an EAR file, which is ready to be deployed and run on WebSphere® Application Server. However, you might need to extend the JSF client code if the work scope increases. Before you extend this code, you must update the faces-config.xml file.
To update the faces-config.xml file, complete the following steps:
Procedure
What to do next
After you update the faces-config.xml file, download the ModifyEnhanceJSFClient.pdf file and sample (OrderSolution_PI_V7.zip) in Understanding and enhancing the generated Java Server Faces client for human tasks for information about how to extend your generated JSF client for human tasks.