composite-component Questions

1

Solved

We can access the Composite Component attribute values (defiled in the interface section), in the implimentation like #{cc.attrs.attributeName} How can we access this value in the backing componen...
Voucher asked 31/7, 2011 at 10:10

1

Solved

I started using JSF 2.0 with Facelets recently and got puzzled by new composite components knowing existing <ui:include> and other templating techniques offered by Facelets 1.x. What is the...

1

Solved

I have a composite component (collapsiblePanel). The component uses the "collapsible" bean to provide the toggle function. When I use the same component multiple times on a page, each instance of t...
Anatolic asked 6/7, 2011 at 21:4

2

Solved

Hi Have this Wierd Issue in which I am using a Composite Component which I wrote and I get values from the previous use of the backing bean of the CC (the componentType bean) I don't know how to d...
Achromic asked 26/6, 2011 at 16:8

2

Solved

I have a JSF 2 composite component that employs some Ajax behavior. I want to add a listener method to the <f:ajax> tag inside my composite component, but the listener method should be provid...
Incorporeity asked 23/6, 2011 at 12:17

1

Solved

I asked this question and although the answer directly satisfied my needs I am left with a feeling that there has to a simpler solution for this specific problem. I would like to have a composite ...
Snivel asked 15/6, 2011 at 13:2

1

Solved

The title really says it all. I have made an attempt which failed with the error: Illegal attempt to pass arguments to a composite component lookup expression (i.e. cc.attrs.[identifier]). My att...
Immethodical asked 15/6, 2011 at 9:19

3

Solved

I'm writing a composite component, you have a special tag named: <composite:insertChildren /> Which inserts all the component's children there. Is there any way to know whether the compone...
Preterite asked 13/2, 2011 at 7:59

1

What is the difference between JSF Custom Components and Facelets Composite Components?
Millibar asked 18/4, 2011 at 14:43

1

Solved

I'm trying to get a composite component working with it's own backing bean, using the example on p375 from the Core JSF 3 book, but just get an NPE. The problem seems to be at the start of encodeBe...
Tapley asked 27/3, 2011 at 9:36

1

Solved

I'm loving the jsf 2.0 composite component setup. One other thing I love is prependId="false" on forms. Is there an equivalent that can be defined in cc:interface or cc:implementation that will pre...
Coronel asked 8/3, 2011 at 23:39

2

Solved

I have a composite component: <composite:interface> <composite:attribute name="actionMethod" method-signature="java.lang.String action()" required="true" /> </composite:interface...
Tedmund asked 15/8, 2010 at 13:10

2

Solved

If I had a managed bean as follows: @ManagedBean @RequestSchoped public class Example { private List<String> stringList; private List<Long> longList; // getters, setters, etc. dow...
Pneumato asked 24/6, 2010 at 20:23

2

Solved

I'm creating a simple menuing composite component in JSF 2. However, I am unable to pass a String attribute into the composite component to use in the action attribute of the <h:commandLink>....
Halide asked 17/5, 2010 at 18:33

© 2022 - 2024 — McMap. All rights reserved.