This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "backBean add to list Problem" Watch "backBean add to list Problem" New topic
Author

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: backBean add to list Problem
 
Similar Threads
JSF 2.0 and AJAX Problem
Casting Exception
assignment operator
Generating user details in form as ReadOnly
Relay access denied