Page 1 of 1

cc resolve to null

Posted: 29 Sep 2011, 13:03
by shri636
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

Re: cc resolve to null

Posted: 30 Sep 2011, 18:54
by kataras
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.

Re: cc resolve to null

Posted: 03 Oct 2011, 06:06
by shri636
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