| Author |
primefaces command button is not working
|
Ashok Pradhan
Ranch Hand
Joined: Dec 17, 2007
Posts: 179
|
|
<p:commandButton> of primefaces is not working but that same code working with <h:commandButton>
Login bean is present with all valid getter and setter with loginAction
Please help
|
 |
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Hi, have you check with firebug if there are any errors generated? Or can you check if any messages are being posted at the server?
From your post, I cannot really get the cause of the error.
I happily used Primefaces for my UI.
|
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
|
 |
Ashok Pradhan
Ranch Hand
Joined: Dec 17, 2007
Posts: 179
|
|
Now I came to know from PrimeFaces faq that
Why navigations do not work with PrimeFaces commandButton and commandLink?
PrimeFaces does not support forward based navigations within an ajax request, you need to do redirect instead or set ajax to false.
Then I just change the code
and it works fine..
|
 |
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Glad you work it out!
|
 |
Ashok Pradhan
Ranch Hand
Joined: Dec 17, 2007
Posts: 179
|
|
Thank you Mark
|
 |
 |
|
|
subject: primefaces command button is not working
|
|
|