myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1760529 - /myfaces/tobago/branches/tobago-2.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SplitLayoutRenderer.java
Date Tue, 13 Sep 2016 11:29:43 GMT
Author: weber
Date: Tue Sep 13 11:29:43 2016
New Revision: 1760529

URL: http://svn.apache.org/viewvc?rev=1760529&view=rev
Log:
TOBAGO-1599 - SplittLayout broken in zoomed IE

Modified:
    myfaces/tobago/branches/tobago-2.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SplitLayoutRenderer.java

Modified: myfaces/tobago/branches/tobago-2.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SplitLayoutRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-2.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SplitLayoutRenderer.java?rev=1760529&r1=1760528&r2=1760529&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-2.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SplitLayoutRenderer.java
(original)
+++ myfaces/tobago/branches/tobago-2.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SplitLayoutRenderer.java
Tue Sep 13 11:29:43 2016
@@ -56,7 +56,7 @@ public class SplitLayoutRenderer extends
       // only decode and update layout at resize request
       final Map<String, String> parameterMap = facesContext.getExternalContext().getRequestParameterMap();
       final String position = parameterMap.get(clientId + POSITION_ID_POSTFIX);
-      ((AbstractUISplitLayout) component).updateLayout(Integer.parseInt(position));
+      ((AbstractUISplitLayout) component).updateLayout(Double.valueOf(position).intValue());
     }
   }
 



Mime
View raw message