]
Cesar Perez updated JBIDE-2769:
-------------------------------
Attachment: TestOnClickError.jsp
The file with problems.
The source editor marks a EL expression as invalid inside the onclick
event
---------------------------------------------------------------------------
Key: JBIDE-2769
URL:
https://jira.jboss.org/jira/browse/JBIDE-2769
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.0.0.alpha
Environment: Windows XP SP3, Eclipse 3.4.
Reporter: Cesar Perez
Attachments: TestOnClickError.jsp
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: