File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF page works perfect only for the first time Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF page works perfect only for the first time" Watch "JSF page works perfect only for the first time" New topic
Author

JSF page works perfect only for the first time

hw khan
Greenhorn

Joined: Oct 03, 2007
Posts: 9
I have a JSF page with submit/reset/back button
the page works fine with one operation on the page
If submit is clicked once , it displays the result or error on the same page , but then reset/back/submit when clicked agin there is no action hapeening , the assocaited action function is not getting called at all

same with reset/back button

please advice what approach I should try with

Iam really in a BIG problem
thanks
Praful Sinha
Greenhorn

Joined: Jan 25, 2008
Posts: 18
Hi Khan

What kind of validation you are using.
Please use CV validator component available for jsf.

That will help you out more.

Thanks
Praful Sinha.
Tony Smith
Ranch Hand

Joined: Jul 07, 2007
Posts: 224
you probably should post the code for the page, backing bean and your faces-config code.


SCJP 5.0<br />SCWCD 1.4
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16622

Then never go to that page more than once.

I have to add humor.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
IntelliJ Java IDE
 
subject: JSF page works perfect only for the first time
 
Threads others viewed
display error message
skipping JSF validation for reset event
Reset the form to Null or Reload the page using reset even after a submit
Reset button in not working
My First Struts App
developer file tools