Board index JavaServer Faces General cc resolve to null

cc resolve to null

Components, Ajax Framework, Utilities and More.

Post 29 Sep 2011, 13:03

Posts: 2
javax.el.PropertyNotFoundException: /file:/D:/workspace/platformWeb/target/platf
ormWeb/WEB-INF/lib/activitiUI-1.1108.5-SNAPSHOT.jar!/META-INF/resources/activiti
UI/activitiView.xhtml @22,64 value="#{cc.attrs.uiBean.txnTypeCode}": Target Unre
achable, identifier 'cc' resolved to null
at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpressi
on.java:93)
at org.primefaces.component.autocomplete.AutoCompleteRenderer.getConvert
edValue(AutoCompleteRenderer.java:231)
at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1008)
at javax.faces.component.UIInput.validate(UIInput.java:934)
at javax.faces.component.UIInput.executeValidate(UIInput.java:1189)
at javax.faces.component.UIInput.processValidators(UIInput.java:691)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBa
se.java:1080)
at javax.faces.component.UIForm.processValidators(UIForm.java:243)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBa
se.java:1080)



uiBean="#{uiService.bean}"
<cc:interface>
<cc:attribute name="uiBean" />
</cc:interface>

In <cc:implementation > i am writing value="#{cc.attrs.uiBean.txnTypeCode}" for a component

Post 30 Sep 2011, 18:54

Posts: 42
Location: Xanthi/Greece

make the <xmlns cc to xmlns com

and replace the <cc:attritube and all all that with <com:attritube

but in your code to find attritubes make it like before : cc.attrs.
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .

Post 03 Oct 2011, 06:06

Posts: 2
kataras wrote:
make the <xmlns cc to xmlns com

and replace the <cc:attritube and all all that with <com:attritube

but in your code to find attritubes make it like before : cc.attrs.




Thank you,
Now I got it actually I forgot to install that particular module (mvn install) thats why I was getting the CC resolve to null
now the problem got solved


Return to General