[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8926) OpenOn on JSP tags has duplicated items in case if page has included pages with the same tag library declarations

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Tue May 10 21:05:18 EDT 2011


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

Daniel Azarov updated JBIDE-8926:
---------------------------------

    Description: 
org.jboss.tools.jst.web.kb.internal.JspContextImpl.getLibraries() returns libraries from page itself and from all included pages. In case where included page contains the same tag library definition this method returns duplicated items.

Test Case:
1. Create Seam Web War project
2. Open 'WebContent/home.xhtml' file in Visual Page Editor
3. Point mouse to s:div tag and press Ctrl button
4. OpenOn menu window appears
ASSERT: there are no duplicated items in OpenOn menu window

  was:org.jboss.tools.jst.web.kb.internal.JspContextImpl.getLibraries() returns libraries from page itself and from all included pages. In case where include page contains the same tag library definition this method returns duplicated items.

       Assignee: Victor Rubezhny  (was: Alexey Kazakov)


> OpenOn on JSP tags has duplicated items in case if page has included pages with the same tag library declarations
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-8926
>                 URL: https://issues.jboss.org/browse/JBIDE-8926
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.3.0.M1
>            Reporter: Daniel Azarov
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.M2
>
>         Attachments: JSPTagOpenOnWithDuplicatedTagLibraries.png
>
>
> org.jboss.tools.jst.web.kb.internal.JspContextImpl.getLibraries() returns libraries from page itself and from all included pages. In case where included page contains the same tag library definition this method returns duplicated items.
> Test Case:
> 1. Create Seam Web War project
> 2. Open 'WebContent/home.xhtml' file in Visual Page Editor
> 3. Point mouse to s:div tag and press Ctrl button
> 4. OpenOn menu window appears
> ASSERT: there are no duplicated items in OpenOn menu window

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list