[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4035) Insert Tag dialog inserts incorrect taglib element

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Tue Mar 17 07:50:22 EDT 2009


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

Yahor Radtsevich updated JBIDE-4035:
------------------------------------

    Description: 
STEPS TO REPRODUCE:
1. Open the attached project.
2. Open /InsertTag/WebContent/index.xhtml in JBoss Tools HTML Editor. (Notice that there is no DOCTYPE declaration.)
3. Drag /InsertTag/WebContent/image.gif and drop it into the editor. 'Insert Tag' dialog appears.
4. Select 'html:img' and click 'Finish'.
ACTUAL RESULT:
    '<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>' is inserted into the head of the page (see Screenshot-1.gif)
EXPECTED RESULT:
    'xmlns:html="http://struts.apache.org/tags-html"' have to be inserted as an attribute of the 'body' element.

  was:
STEPS TO REPRODUCE:
1. Open the attached project.
2. Open /InsertTag/WebContent/index.xhtml in JBoss Tools HTML Editor. (Notice that there is no DOCTYPE declaration.)
3. Drag /InsertTag/WebContent/image.gif and drop it into the editor. 'Insert Tag' dialog appears.
4. Select 'html:img' and click 'Finish'.
ACTUAL RESULT:
    '<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>' is inserted into the head of the page
EXPECTED RESULT:
    'xmlns:html="http://struts.apache.org/tags-html"' have to be inserted as an attribute of the 'body' element.



> Insert Tag dialog inserts incorrect taglib element
> --------------------------------------------------
>
>                 Key: JBIDE-4035
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4035
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF, jsp/jsf/xml source editing
>    Affects Versions: 3.0.0.CR2
>            Reporter: Yahor Radtsevich
>            Assignee: Yahor Radtsevich
>            Priority: Minor
>             Fix For: 3.1.0
>
>         Attachments: InsertTag.zip, Screenshot-1.gif
>
>
> STEPS TO REPRODUCE:
> 1. Open the attached project.
> 2. Open /InsertTag/WebContent/index.xhtml in JBoss Tools HTML Editor. (Notice that there is no DOCTYPE declaration.)
> 3. Drag /InsertTag/WebContent/image.gif and drop it into the editor. 'Insert Tag' dialog appears.
> 4. Select 'html:img' and click 'Finish'.
> ACTUAL RESULT:
>     '<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>' is inserted into the head of the page (see Screenshot-1.gif)
> EXPECTED RESULT:
>     'xmlns:html="http://struts.apache.org/tags-html"' have to be inserted as an attribute of the 'body' element.

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