aspose file tools*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF <h:commandButton action> not working" Watch "JSF <h:commandButton action> not working" New topic
Author

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.

bean(Employee.java):-


JSF page(delete-employee.xhtml):-



Faces-config.xml:-

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}"

regards,
Nirvan.
 
 
subject: JSF <h:commandButton action> not working