Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358160

Summary: [JSF2.0] Incorrect validation error for actionListener
Product: [WebTools] Java Server Faces Reporter: Alexey Kazakov <alkazako>
Component: JSF ToolsAssignee: Ian Trimble <ian.trimble>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: dgolovin, ian.trimble, raghunathan.srinivasan
Version: unspecified   
Target Milestone: 3.4.0 M6   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Alexey Kazakov CLA 2011-09-19 16:51:05 EDT
Build Identifier: I20110613-1736

Facelet HTML Validator marks correct EL as an error with the following message: 'Method must have signature "void method(ActionEvent)" but has signature "void method()"'

Reproducible: Always

Steps to Reproduce:
1. Create a dynamic web project with JSF 2.0 facet.
2. Create an XHTML page
3. Add the following code to the page:
<h:commandLink action="pretty:home"
actionListener="#{facesContext.externalContext.invalidateSession}"
value="#{bundles.messages.template_linkReset}"/>
Comment 1 Ian Trimble CLA 2012-01-06 20:09:01 EST

*** This bug has been marked as a duplicate of bug 352491 ***