Top "Composite-component" questions

"Composite Component" is a JSF 2.x / Facelets specific term for reuseable UI components which are declared using pure XML rather than Java.

When to use <ui:include>, tag files, composite components and/or custom components?

I started using JSF 2.0 with Facelets recently and got puzzled by new composite components knowing existing <ui:include> …

jsf-2 facelets custom-component composite-component tagfile
PrimeFaces CommandButton Action not called inside Composite

In the code bellow the jsf html commandButton action is called perfectly. But primefaces commandButton action is not called. <…

jsf-2 primefaces composite-component
JSF 2 - How can I add an Ajax listener method to composite component interface?

I have a JSF 2 composite component that employs some Ajax behavior. I want to add a listener method to the &…

java ajax jsf-2 listener composite-component
Pass method argument/parameter to composite-component action attribute

The title really says it all. I have made an attempt which failed with the error: Illegal attempt to pass …

jsf facelets composite-component
How to programmatically or dynamically create a composite component in JSF 2

I need to programmatically create composite components in JSF 2. After few days of searching and experiments I figured out this …

java dynamic jsf-2 facelets composite-component
How to make a grid of JSF composite component?

I have lot's of outputLabel and inputText pairs in panelGrids <h:panelGrid columns="2"> <h:outputLabel value="label1" …

jsf jsf-2 grid alignment composite-component
How to implement a dynamic list with a JSF 2.0 Composite Component?

I asked this question and although the answer directly satisfied my needs I am left with a feeling that there …

jsf jsf-2 facelets dynamic-forms composite-component
Adding action methods to a composite component

I am learning about composite components with JSF 2.0 and i want my component to be able to trigger methods from …

java jsf jsf-2 facelets composite-component
How to pass a action string into a JSF 2 composite component?

I'm creating a simple menuing composite component in JSF 2. However, I am unable to pass a String attribute into the …

jsf jsf-2 action composite-component
How to pass attributes to a composite-component

I am having trouble in using a JSF composite-component in the right way. I put some components together and everything …

jsf-2 composite-component