[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2769) The source editor marks a EL expression as invalid inside the onclick event
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Tue Sep 16 13:00:31 EDT 2008
[ https://jira.jboss.org/jira/browse/JBIDE-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12429879#action_12429879 ]
Alexey Kazakov commented on JBIDE-2769:
---------------------------------------
We don't add any marker with such messages. But anyway, Viktor, please check it.
> 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
> Assignee: Victor Rubezhny
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list