[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-2769) The source editor marks a EL expression as invalid inside the onclick event

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Nov 6 10:56:20 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-2769:
----------------------------------

      Component/s: UpStream
    Fix Version/s: LATER
                       (was: 3.0.0.cr1)


that is a bug of wtp.

> 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, UpStream
>    Affects Versions: 3.0.0.alpha
>         Environment: Windows XP SP3, Eclipse 3.4.
>            Reporter: Cesar Perez
>            Assignee: Victor Rubezhny
>             Fix For: LATER
>
>         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