Mark Smits

Greenhorn
+ Follow
since Jun 10, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mark Smits

Hi,

I'm trying to create a tabset component that includes tab component. To make things a little easier i like to have a reference between the two components. I tried several things but was unable to make this reference. So i made a simple example.

In the example below i made a child and parent component. In the child i like to reference the parent. through the #{cc.parent} property. If you will include the test components in your page you will see that the parent property is not empty but i'm unable to print any information like id/clientId. I tried everything. Even installed netbeans but even that made no difference. The App server i'm using is glassfish v3.

Anyone know what i'm doing wrong?

Parent Component: parent.xhtml


Child Component: child.xhtml


Index.xhtml
include: xmlns:test="http://java.sun.com/jsf/composite/components/test"
<test:parent test="Hello"/>


13 years ago
JSF