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 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 Android Security Essentials Live Lessons this week in the Android forum!
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: 32
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF <h:commandButton action> not working
 
Similar Threads
commandLink param problem
In Rich Faces rich:panelMenu a4j:commandButton action not called
navigation problems
Beginners Querylogue!
redirection from backbean