[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4390) EL isn't highlighted while making OpenOn action on JSP pages.

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Tue Jun 23 09:48:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12473430#action_12473430 ] 

Victor Rubezhny commented on JBIDE-4390:
----------------------------------------

The problem is that class org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP class is probably modified in WTP 3.1M7. So, it  doesn't define the LineStyleProvider for the partitionType == "org.eclipse.jst.jsp.SCRIPT.JSP_EL2". This breaks the text regions styling (underlining for our case) for #{...} -like EL regions.

see:
public LineStyleProvider[] getLineStyleProviders(ISourceViewer sourceViewer, String partitionType)

The workaround may be done in org.jboss.tools.jst.jsp.JSPTextViewerConfiguration (that overrides the StructuredTextViewerConfigurationJSP class)

> EL isn't highlighted while making OpenOn action on JSP pages.
> -------------------------------------------------------------
>
>                 Key: JBIDE-4390
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4390
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.M1
>            Reporter: Anton Klimkovich
>            Assignee: Victor Rubezhny
>            Priority: Critical
>             Fix For: 3.1.0.M2
>
>
> EXECUTE: Create JSF 1.2 kickstart project
> EXECUTE: Open hello.jsp page
> EXECUTE:  Try to make OpenOn on <h:outputText value="#{user.name}" />
> FAILURE:    EL isn't highlighted while making OpenOn action on JSP pages.

-- 
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