...
The Java classes and faces-config.xml code to enable the openLogBean managed bean and Phase Listener can be copied from the On Disk Project in the downloaded sources OpenLogJava.nsf demo and placed into an NSF.
- Add the src/com.paulwithers.openLog package to the WebContent/WEB-INF folder. The new hierarchy should be WebContent/WEB-INF/src/com.paulwithers.openLog.
- Add the XML for the Phase Listener and Managed Bean to your database's faces-config.xml, also in the WebContent/WEB-INF folder. Ensure it is outside the AUTOGEN section. Anything within that section gets removed when the NSF is built.
- Ensure the WebContent/src folder is added as a source folder, by right-clicking and selecting Build Path > Use as source folder.
...