File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF <h:commandButton action> not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF <h:commandButton action> not working" Watch "JSF <h:commandButton action> not working" New topic

JSF <h:commandButton action> not working

Adnan Gondal
Ranch Hand

Joined: Apr 30, 2011
Posts: 35
Hi all! <h:commandButton action> is not working in following code snippest.


JSF page(delete-employee.xhtml):-


Second navigation rule is not working but the first navigation rule is working. Thanks in advance.
B Nirvan
Ranch Hand

Joined: Oct 20, 2010
Posts: 82
Change action="employee.deleteEmployee" to action="#{employee.deleteEmployee}"

Have you tried LearnNowOnline?
subject: JSF <h:commandButton action> not working