File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes UISelectMany and EvaluationException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "UISelectMany and EvaluationException" Watch "UISelectMany and EvaluationException" New topic
Author

UISelectMany and EvaluationException

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
I found that if I use UISelectMany, users' multiple selections from a list box will be in an Object[].

But, I got a runtime error: "EvaluationException: Error getting property 'dataFile' from bean of type actions.FileManagementBean: java.lang.NullPointerException'

I have the getter and setter for the property 'dataFile' in my backing bean. In my JSP, I create a list box:

And this is my backing bean:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UISelectMany and EvaluationException
 
Similar Threads
jsf:datatable with selectManyCheckbox problem
selectManyListbox - IllegalArgumentException
Using dropDown in jsf
EvaluationException: Cannot get value for expression
selectManyListBox to add/remove user Roles