cc resolve to null

UI Components for JSF
Post Reply
shri636
Posts: 2
Joined: 29 Sep 2011, 12:59

29 Sep 2011, 13:03

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

User avatar
kataras
Posts: 42
Joined: 12 Apr 2011, 21:51
Location: Xanthi/Greece
Contact:

30 Sep 2011, 18:54

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 .

shri636
Posts: 2
Joined: 29 Sep 2011, 12:59

03 Oct 2011, 06:06

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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests