Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 and placed into an NSF.

  1. 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.
  2. 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.
  3. Ensure the WebContent/src folder is added as a source folder, by right-clicking and selecting Build Path > Use as source folder.

...