[jbosstools-issues] [JBoss JIRA] (JBIDE-8964) Impossible to dnd any element into the <div /> with no end tag

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Wed Apr 4 05:49:47 EDT 2012


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

Denis Maliarevich commented on JBIDE-8964:
------------------------------------------

There is a condition which adds missing end tag in XMLModelUpdater:
{code}
if (element.isEmptyTag()) { // empty tag format
{code}
 -- it gives true for <div /> in xhtml file, and false -- for <div /> in jsp file, it's internal eclipse behavior. So I guess we shuold check/add correct end tag in our own VpeDnDHelper.drop(..) method.
                
> Impossible to dnd any element into the <div /> with no end tag
> --------------------------------------------------------------
>
>                 Key: JBIDE-8964
>                 URL: https://issues.jboss.org/browse/JBIDE-8964
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M1
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.Beta3
>
>         Attachments: jbide8964.patch
>
>
> There is no possibility to drag-and-drop into the div:
> ===
> <div style="width : 200px; height : 200px;"/>
> ===
> only possible to drag-and-drop into this div:
> ===
> <div style="width : 200px; height : 200px;">
>  !!! i want insert here !!!
> </div>
> ===

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list