Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error displaying values in the datatable

 
in.anurag Singh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having an problem with the data table in the icefaces.
I have an list of objects , and i want to populate the data table with the properties of the objects. but i can't ....

Here is my code..
showtable.jspx page:



Now , the controller:



Here is the bean named InfoClass:


My faces-config:



my dtable.jspx



All i want to do is this..
when i will hit the "add" button on dtable.jspx page..
it will call addDataAction method in hello.java which will inturn add the infoclass object in the infoclasslist arraylist.
and move on to the showtable.jspx.
on the showtable.jspx, i have binded the datatable to the infoclasslist, and columns to the "hello.infoclasslist.name".
but when i run my pages, i reach upto the dtable.jspx, when i hit the add button, then i am getting the error



please help me with this problem..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic