[jbosstools-issues] [JBoss JIRA] (JBIDE-10089) Remove updating <style> tag from VpeVisualDomBuilder.updateElement(Node sourceNode) method

Denis Maliarevich (Created) (JIRA) jira-events at lists.jboss.org
Wed Nov 2 07:16:45 EDT 2011


Remove updating <style> tag from VpeVisualDomBuilder.updateElement(Node sourceNode) method
------------------------------------------------------------------------------------------

                 Key: JBIDE-10089
                 URL: https://issues.jboss.org/browse/JBIDE-10089
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Visual Page Editor Templates
    Affects Versions: 3.3.0.M4
            Reporter: Denis Maliarevich
            Assignee: Denis Maliarevich
            Priority: Optional
             Fix For: 3.3.0.Beta1


There is a bad way of updating <style> tag in updateElement(Node sourceNode) method:
{code}
/*
* special processing of "style" element
* 
* for unification of updating nodes - or redevelop updating
* mechanism (for example : transfer this function to template )
* or redevelop template of "style" element
*/
if (HTML.TAG_STYLE.equalsIgnoreCase(sourceNode.getNodeName())) {
	// refresh style node
	VpeStyleUtil.refreshStyleElement(this, elementMapping);
	return;
}
{code}

Should be removed to the style template.

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