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 Reason for commandButton error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Reason for commandButton error" Watch "Reason for commandButton error" New topic
Author

Reason for commandButton error

Sachin Powale
Greenhorn

Joined: Nov 04, 2004
Posts: 14
I have a commandButton in my form but due to some reason it does not submit to the server. I tried adding a onClick javascript.
The script works fine but the form does not submit to the server.
What may be the reason. Has it something to do with the registration of the commandButton component to the JSF?


Thanks and regards,
Sachin Powale


SCJP1.4<br />SCWCD5.0<br />SCJWS(Preparing)
Gabriel Claramunt
Ranch Hand

Joined: May 26, 2007
Posts: 375
Just in case, make sure you don't have any conversion (or validation) errors in your page...


Gabriel
Software Surgeon
Sachin Powale
Greenhorn

Joined: Nov 04, 2004
Posts: 14
My application gets stuck in the following phase
BeforePhase: APPLY_REQUEST_VALUES(2)
I cannot figure out why it is so?

Thanks
Sachin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reason for commandButton error
 
Similar Threads
Very simple error
JSF - SelectManyListBox doesnt populate on valeChangeevent
call a action method with h:commandButton
Problem trying to send file to browser in JSF
JSF: Problem with valueChangeListener