[jbosstools-commits] JBoss Tools SVN: r9347 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Jul 28 06:40:54 EDT 2008
Author: estherbin
Date: 2008-07-28 06:40:53 -0400 (Mon, 28 Jul 2008)
New Revision: 9347
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplate.java
Log:
Fix bugs https://jira.jboss.org/jira/browse/JBIDE-2430
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplate.java 2008-07-28 10:39:26 UTC (rev 9346)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplate.java 2008-07-28 10:40:53 UTC (rev 9347)
@@ -182,7 +182,7 @@
final Element source = (Element) sourceNode;
prepareData(source);
- final nsIDOMElement rootDiv = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_DIV);
+ // final nsIDOMElement rootDiv = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_DIV);
final nsIDOMElement secondDiv = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_DIV);
secondDiv.setAttribute("align", this.sourceAlign);
secondDiv.setAttribute(HTML.ATTR_CLASS, styleClasess.get("secondDiv"));
@@ -247,7 +247,7 @@
+ calculateWithForDiv(this.sourceWidth, 10));
forthEmptyDiv.appendChild(visualDocument.createTextNode("Struts"));
- rootDiv.appendChild(secondDiv);
+ // rootDiv.appendChild(secondDiv);
secondDiv.appendChild(thirdDiv);
if (isToggle) {
@@ -258,9 +258,9 @@
thirdDiv.appendChild(thirdInput);
thirdDiv.appendChild(forthEmptyDiv);
- final VpeCreationData creationData = new VpeCreationData(rootDiv);
-// final DOMTreeDumper dumper = new DOMTreeDumper();
-// dumper.dumpToStream(System.err, rootDiv);
+ final VpeCreationData creationData = new VpeCreationData(secondDiv);
+ final DOMTreeDumper dumper = new DOMTreeDumper();
+ dumper.dumpToStream(System.err, secondDiv);
return creationData;
}
More information about the jbosstools-commits
mailing list