[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9265) Seam booking example - actionListener validation error

Libor Zoubek (JIRA) jira-events at lists.jboss.org
Tue Jun 28 06:16:23 EDT 2011


Seam booking example - actionListener validation error
------------------------------------------------------

                 Key: JBIDE-9265
                 URL: https://issues.jboss.org/browse/JBIDE-9265
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsp/jsf/xml source editing
    Affects Versions: 3.3.0.M2
            Reporter: Libor Zoubek
            Assignee: Alexey Kazakov
             Fix For: 3.3.0.M3


I am not sure if this error should be fixed in example or it is tooling issue.
{noformat}
Method must have signature "void method(ActionEvent)" but has signature "void method()"	template.xhtml	/seam-booking/src/main/webapp/WEB-INF/layout Facelet Validator
{noformat}

But I suspect tooling, error appears on this line:
{noformat}
<h:commandLink action="pretty:home"
                                           actionListener="#{facesContext.externalContext.invalidateSession}"
                                           value="#{bundles.messages.template_linkReset}"/>
{noformat}

But if I change actionListener to contain "#{bookingAgent.bookHotel}" (method with signature void bookHotel()) than, this line is not marked as error.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list