Index: D:/java_files/eclipse/workspace/jetspeed-2/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ColumnLayout.java =================================================================== --- D:/java_files/eclipse/workspace/jetspeed-2/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ColumnLayout.java (revision 393485) +++ D:/java_files/eclipse/workspace/jetspeed-2/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/ColumnLayout.java (working copy) @@ -17,12 +17,14 @@ import java.io.Serializable; import java.text.DecimalFormat; +import java.text.DecimalFormatSymbols; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.SortedMap; import java.util.TreeMap; @@ -69,8 +71,11 @@ /** Percentage widths gutter width */ private final static double PERCENTAGE_WIDTH_GUTTER = 0.01; + /** Force the usage of english formatted widths (dot as decimal separator) in html source */ + private final static DecimalFormatSymbols DECIMAL_FORMAT_SYMBOLS = new DecimalFormatSymbols( Locale.ENGLISH ); + /** Percentage widths format */ - private final static DecimalFormat PERCENTAGE_WIDTH_FORMAT = new DecimalFormat("0.00'%'"); + private final static DecimalFormat PERCENTAGE_WIDTH_FORMAT = new DecimalFormat("0.00'%'", DECIMAL_FORMAT_SYMBOLS ); /** Constrains the columns for this layout */ private final int numberOfColumns;