Author: abelevich
Date: 2007-10-16 13:50:03 -0400 (Tue, 16 Oct 2007)
New Revision: 3405
Modified:
branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
Log:
remove FacesException if columnWidth value with %
Modified:
branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
---
branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2007-10-16
16:55:01 UTC (rev 3404)
+++
branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2007-10-16
17:50:03 UTC (rev 3405)
@@ -52,7 +52,7 @@
* @throws IOException
*/
- protected final static String PERSENTAGE_SUPPORT_ERROR_MSG = "columnsWidth
property: Percentage values are not supported";
+// protected final static String PERSENTAGE_SUPPORT_ERROR_MSG = "columnsWidth
property: Percentage values are not supported";
public void encodeTableStructure(FacesContext context, UIDataTable table)
throws IOException {
@@ -66,9 +66,9 @@
if (null != columnsWidth) {
// temporary solution RF-957
- if(columnsWidth.contains("%")){
- throw new FacesException(PERSENTAGE_SUPPORT_ERROR_MSG);
- }
+// if(columnsWidth.contains("%")){
+// throw new FacesException(PERSENTAGE_SUPPORT_ERROR_MSG);
+// }
String[] widths = columnsWidth.split(",");
for (int i = 0; i < widths.length; i++) {
writer.startElement("col", table);