Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9265

Seam booking example - actionListener validation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • LATER
    • 3.3.0.M2
    • upstream
    • None
    • Hide

      EXEC: Follow: http://seamframework.org/Seam3/Contribute
      EXEC: Import seam-master/examples using maven

      Currently: there is an error in src/main/webapp/WEB-INF/layout/template.xhtml

      Show
      EXEC: Follow: http://seamframework.org/Seam3/Contribute EXEC: Import seam-master/examples using maven Currently: there is an error in src/main/webapp/WEB-INF/layout/template.xhtml

      I am not sure if this error should be fixed in example or it is tooling issue.

      Method must have signature "void method(ActionEvent)" but has signature "void method()"	template.xhtml	/seam-booking/src/main/webapp/WEB-INF/layout Facelet Validator
      

      But I suspect tooling, error appears on this line:

      <h:commandLink action="pretty:home"
                                                 actionListener="#{facesContext.externalContext.invalidateSession}"
                                                 value="#{bundles.messages.template_linkReset}"/>
      

      But if I change actionListener to contain "#

      {bookingAgent.bookHotel}

      " (method with signature void bookHotel()) than, this line is not marked as error.

            alexeykazakov Alexey Kazakov
            lzoubek Libor Zoubek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: