Author: yradtsevich
Date: 2008-11-14 14:20:25 -0500 (Fri, 14 Nov 2008)
New Revision: 11796
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
Log:
CODING IN PROGRESS - issue JBIDE-2877: <rich:dataTable>, <rich:column>
interaction
https://jira.jboss.org/jira/browse/JBIDE-2877
Item #4 has been fixed: "Incorrect size of header and footer paths of
<rich:dataTable> when using <rich:subTable> (see screenshot-5)".
Part 2.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2008-11-14
18:23:53 UTC (rev 11795)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2008-11-14
19:20:25 UTC (rev 11796)
@@ -93,6 +93,12 @@
public static final String ATTR_SCOPE = "scope"; //$NON-NLS-1$
public static final String ATTR_SPAN = "span"; //$NON-NLS-1$
+ /**Use this constant if you have to span a column to entire row.*/
+ /* While in HTML 4.01 standard "colspan='0'" should be used for this
purpose,
+ * it will not work with documents without DOCTYPE. It is the reason
+ * why the value '100' is used.*/
+ public static final String VALUE_COLSPAN_ALL = "100"; //$NON-NLS-1$
+
public static final String VALUE_ALIGN_TOP = "top"; //$NON-NLS-1$
public static final String VALUE_ALIGN_RIGHT = "right"; //$NON-NLS-1$
public static final String VALUE_ALIGN_MIDDLE = "middle"; //$NON-NLS-1$