File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes backBean add to list Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "backBean add to list Problem" Watch "backBean add to list Problem" New topic

backBean add to list Problem

Zaeed McColin
Ranch Hand

Joined: Jan 13, 2009
Posts: 90
hi guys, I'm new in JSF
I developed a manage bean, (4 JSP use this bean)
It's should like work such as shopping cart

but it's can not work, and return error when I want add a new item to list

and the code

Open source
Zaeed McColin
Ranch Hand

Joined: Jan 13, 2009
Posts: 90
funny bug
I'm really sorry for self :thumbdown:

I have to declare my listCart

Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Glad you fixed it yourself, but in the future you should not ignore any exceptions you got, but invesitgate them and in case you stucks, share them with us. Post them with the complete stacktrace. Exceptions tell something about the cause of the problem and thus, when you understand them, a solution should be obvious enough. You as developer should really know that better.
I agree. Here's the link:
subject: backBean add to list Problem