selectItem « Component « JSF Q&A

1. JSF Composite component and selectItems

I have been playing around with composite components and I ran into something I could not figure out. Without using a composite component I would have something like this:

<h:outputText value="Some Label:"/>

2. f:selectItem inside of a composite component

I'm trying to create my own selectManyCheckbox with composite components. But when I try to use my own selectItem component, the items won't be rendered. selectItem.xhtml:



3. Proper way to add to a composite component that implements

Ok, I'm trying to wrap my head around this composite component stuff and I'm hoping that someone can help clarify. So I have a composite component that looks like the following: