It's not a secret anymore!
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "bean property not being updated" Watch "bean property not being updated" New topic
Author

bean property not being updated

adam smith ii
Greenhorn

Joined: Feb 04, 2010
Posts: 20
Hello,
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 OrderTableBean.java


The placeOrdersController.java


The web.xml
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17166
    
  27

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: http://aspose.com/file-tools
 
subject: bean property not being updated
 
It's not a secret anymore!