Author: yradtsevich
Date: 2008-10-06 08:55:31 -0400 (Mon, 06 Oct 2008)
New Revision: 10687
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
Log:
Issue JBIDE-2800 resolved.
Now if columnClasses are specified, every cell from a column has the same style.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2008-10-06
11:58:08 UTC (rev 10686)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2008-10-06
12:55:31 UTC (rev 10687)
@@ -353,8 +353,11 @@
pageContext);
List columnClasses = getClasses(columnClassesExpr, sourceNode,
pageContext);
- int rci = 0, cci = 0;
+
+ int rci = 0; // index of row class
for (int i = 0; i < rowCount; i++) {
+ int cci = 0; // index of column class. Reset on every new row.
+
nsIDOMElement visualRow = visualDocument
.createElement(HTML.TAG_TR);
if (rowClasses.size() > 0) {
Show replies by date