This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie question on resubmit of page not executing bean

 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a page where in the bean method I'm executing has validation code and when I go in and fix the validation error in my page and click submit again I am NOT getting to the bean in the <h:commandButton ...>

Here is my bean method that I'm calling:



Here is my command button code:



Any help/direction would be greatly appreciated.

Thanks.
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a matter of what is defined in the faces-config.xml file for my bean? Meaning the scope is defined as a session rather than a request? Should it be a request? Again, I'm am very new to JSF and unfortunately there does not appear to be a lot of support for this web framework out there.

A response would be greatly appreciated. Thanks.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic