Author: sdzmitrovich
Date: 2008-01-24 08:14:47 -0500 (Thu, 24 Jan 2008)
New Revision: 5930
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1580
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java 2008-01-24
13:09:08 UTC (rev 5929)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java 2008-01-24
13:14:47 UTC (rev 5930)
@@ -406,7 +406,7 @@
nsIDOMElement sourceBox = createBox(visualDocument, creationData,
getChildren(sourceNode), "source");
sourceBox.setAttribute(HTML.ATTR_STYLE, "width:" + sourceListsWidth
- + ";height:" + listsHeight + ";" );
+ + ";height:" + listsHeight + ";");
sourceBoxTd.appendChild(sourceBox);
// create source buttons
@@ -425,7 +425,7 @@
nsIDOMElement targetBox = createBox(visualDocument, creationData,
getChildren(sourceNode), "target");
targetBox.setAttribute(HTML.ATTR_STYLE, "width:" + targetListsWidth
- + ";height:" + listsHeight + ";");
+ + ";height:" + listsHeight + ";");
targetBoxTd.appendChild(targetBox);
// create target buttons
@@ -547,7 +547,7 @@
box.setAttribute("cellspacing", "0");
box.setAttribute("cellpadding", "0");
box.setAttribute("width", "100%");
-// box.setAttribute("height", listsHeight);
+ // box.setAttribute("height", listsHeight);
nsIDOMElement header = createHeader(visualDocument, creationData,
children);
@@ -570,7 +570,7 @@
nsIDOMElement column = visualDocument
.createElement(HTML.TAG_TD);
-
+
tr.appendChild(column);
if (columnClasses.size() > 0) {
@@ -662,8 +662,9 @@
metaButton.setAttribute(HTML.ATTR_STYLE, ComponentUtil
.getBackgoundImgStyle(BUTTON_IMG_PATH));
- metaButton.setAttribute(HTML.ATTR_CLASS, "rich-shuttle-meta-button");
-
+ metaButton
+ .setAttribute(HTML.ATTR_CLASS, "rich-shuttle-meta-button");
+
// button represent "div" element
nsIDOMElement button = visualDocument.createElement(HTML.TAG_DIV);
@@ -910,8 +911,9 @@
nsIDOMElement headerCell = visualDocument
.createElement(HTML.TAG_TH);
- headerCell.setAttribute("background", ComponentUtil
- .getAbsoluteResourcePath(HEADER_IMG_PATH));
+ headerCell.setAttribute("background", "file:///"
+ + ComponentUtil
+ .getAbsoluteResourcePath(HEADER_IMG_PATH));
// get header classes
String headerClass = styleClasses.get("headerCell");