This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 32
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}"

It is sorta covered in the JavaRanch Style Guide.
subject: JSF <h:commandButton action> not working