Two Laptop Bag
The moose likes JSF and the fly likes bean property not being updated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "bean property not being updated" Watch "bean property not being updated" New topic

bean property not being updated

adam smith ii

Joined: Feb 04, 2010
Posts: 20
JSF is not updating the Managed bean properties when I change a page component. I have a println that shows the getter method is being invoked, but not the setter method. One of the "problem" JSP component is:
it is not updating the bean property. The revelant objects follow.

Thanks for your assistance.

Here is the placeOrders.jsp



The web.xml
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

You're using a raw HTML form and raw HTML submit buttons. That won't work. You have to use the JSF form and commandButton controls.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: bean property not being updated
It's not a secret anymore!