I've been fighting JSF for a few days now on how to create a drop-down list based on static values. This will be a list where the user will only select one item. I'm getting exceptions when I navigate to the page that is using this control and I'm not exactly sure why, hence the reason for my post. These are JSF pages that are deployed in JBoss Portal 2.6.3.
In my faces-config.xml, I have the following entry:
Here is the CustomerBean class:
Here is where I'm setting up the component in the JSF file and referencing the CustomerBean:
And here's the lovely exception that I get once I navigate to the page:
That doesn't make any sense to me. I am explicity adding objects of type SelectItem to the list, so why would it say that objects are not of type SelectItem?