This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSF <h:commandButton action> not working
 
Similar Threads
commandLink param problem
In Rich Faces rich:panelMenu a4j:commandButton action not called
redirection from backbean
navigation problems
Beginners Querylogue!