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

The source editor marks a EL expression as invalid inside the onclick event

XMLWordPrintable

      The source editor for JSP marks a valid EL expression inside the onclick event of an outputLink as invalid. The line is:

      <h:outputLink id="addProjectButton" onclick="#

      {rich:component('addProjectPanel')}

      .show(); return false;" value="#">

      And the error is marked over the # chracter in the onclick event. The message is - Syntax error on token "Invalid Character" , throw expected. If I remove the script tags on my JSP the error disappears. It also has a warning on the same line saying missing semicolon just before the .show function.

      Attached is part of the code I am working on which has this issue.

              vrubezhny Victor Rubezhny (Inactive)
              kpolice Cesar Perez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: