Hi All
I've created a composite component as follows:
<cc:interface>
...
<cc:attribute name="cctarget"/>
...
</cc:interface>
<cc:implementation>
...
<h:commandLink action="#{cc.attrs.ccaction}">
...
<f:setPropertyActionListener value="item" target="#{cc.attrs.cctarget}"/>
...
</h:commandLink>
...
</cc:implementation>
However when I click on the commandLink above, I get an error message as
follows:
javax.el.PropertyNotFoundException:
/resources/components/componentpanel.xhtml @24,113
target="#{cc.attrs.cctarget}": Target Unreachable, identifier 'cc' resolved
to null
I've had a look online for some examples and the closest I can find is this
example:
http://jamesgdriscoll.wordpress.com/2010/02/09/a-final-look-at-the-switchlist-jsf-2-component/
However in this example the composite component is tightly coupled to
the implementation of the 'switchlistController', which kind of defeats the
point.
Is anyone able to help me out with this?
Thanks in advance!
Regards
Drayton