This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes javax.el.MethodNotFoundException 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 "javax.el.MethodNotFoundException" Watch "javax.el.MethodNotFoundException" New topic
Author

javax.el.MethodNotFoundException

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
I am trying to get ActionEvent work in my code but keep getting Method Not Found Exceptions. Please let me know if there is anything wrong with the code.

javax.el.MethodNotFoundException: /html/payment/PaymentList.xhtml @271,132 actionListener="#{reimbursementAction.clearForm}": Method not found: com.csa.action.payment.ReimbursementActionBean@74d909.clearForm(javax.faces.event.ActionEvent)





Thank you,
Himalay
Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Never mind. IntelliJ imported java.awt.event.ActionEvent for me by default.
Changing it to import javax.faces.event.ActionEvent solved it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javax.el.MethodNotFoundException
 
Similar Threads
Clearing h:inputText value
Clearing forms
<rich:menuItem> unable to fire actionListener
Target component for id pan not found
Edit or delete records resulting from search