Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Newbie question on resubmit of page not executing bean  RSS feed

 
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.

 
Bras cause cancer. And tiny ads:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!