JSF property problem
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   antonis_flangofas
Posted On:   Monday, May 2, 2011 03:51 AM

Hey all, thanks for reading my problem... My Level in JSF : newbie I use GlassFish 3.1 on IDE Eclipse 3.6 I would like to receive an array of objects in the dataTable which is called comments border="1"> Name in the someBeans extends Person in Person I have the following: public Comments[] getComments(){ return (comments); } my consistent error is javax.el.PropertyNotFoundException: /page-b.xhtml @18,77 value="#{someBean.comments}": The class 'somePackage.SomeBean' does not have the    More>>

Hey all,

thanks for reading my problem...
My Level in JSF : newbie



I use GlassFish 3.1 on IDE Eclipse 3.6


I would like to receive an array of objects in the dataTable which is called comments





border="1">



Name










in the someBeans extends Person

in Person I have the following:

public Comments[] getComments(){

return (comments);

}


my consistent error is


javax.el.PropertyNotFoundException: /page-b.xhtml @18,77 value="#{someBean.comments}": The class 'somePackage.SomeBean' does not have the property 'comments'.


What is the error since I ve got the property correctly there? I spent ages to find and I cant because it doesnt make sense to me


I greatly appreciate your help


I tied also this with arraylist but still the same error

   <<Less
About | Sitemap | Contact