« ADF Faces: Building ADF dependent list boxes in ADF Faces table | Main | JDeveloper: Minor hint – Accessing old clipboard content in JDeveloper »
ADF Faces: Conditionally color table cell background
By frank.nimphius | April 10, 2008
One of the JDeveloper 10.1.3.3 examples that are hosted on orablogs, which is no longer available on the Internet, is how to conditionally change the background color of a table cell. Instead of re-writing the whole lost blog entry, I provide the workspace for self-study.
The workspace you can download below contains a BrowseDepartments page that you start with. On the departments form you then select departments 60 to then press the “Edit” button. The salary column shows different background colors based on the value
Setup
=====
Make sure you have the HR schema acessible (the workspace uses “hrconn” as a connect configuration). Also, the workspace comes without jsf-impl.jar and adf-faces-impl.jar to reduce the download size. Both files need to be copied from the JDeveloper jsf-ri and jlib directory to the view project’s public_html/web-inf/lib directory before running the sample
Download
Ps.: Another sample that is included is how to work with the afh:frameBorderLayout. For this example, run the FrameMainpage.jspx file
Topics: ADF Faces, Uncategorized | No Comments »
Comments are closed.