You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/12/11 15:07:14 UTC
svn commit: r1420177 - in /myfaces/tobago/branches/tobago-1.0.x:
core/src/main/java/org/apache/myfaces/tobago/taglib/component/
sandbox/src/main/java/org/apache/myfaces/tobago/taglib/sandbox/
sandbox/src/main/resources/org/apache/myfaces/tobago/renderk...
Author: lofwyr
Date: Tue Dec 11 14:07:05 2012
New Revision: 1420177
URL: http://svn.apache.org/viewvc?rev=1420177&view=rev
Log:
typo
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SheetTagDeclaration.java
myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/java/org/apache/myfaces/tobago/taglib/sandbox/SimpleSheetTagDeclaration.java
myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/sandbox/mozilla/style/style.css
myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/GridLayoutRenderer.java
myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/style/style.css
myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/property/tobago-theme-config.properties
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SheetTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SheetTagDeclaration.java?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SheetTagDeclaration.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SheetTagDeclaration.java Tue Dec 11 14:07:05 2012
@@ -118,7 +118,7 @@ public interface SheetTagDeclaration ext
* vertical toolbar when calculating column width's.<br />
* Possible values are: <pre>
* 'auto' : sheet try to estimate the need of scrollbar
- * 'true' : space for scroolbar is reserved.
+ * 'true' : space for scrollbar is reserved.
* 'false' : no space is reserved.
* </pre>
*/
Modified: myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/java/org/apache/myfaces/tobago/taglib/sandbox/SimpleSheetTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/java/org/apache/myfaces/tobago/taglib/sandbox/SimpleSheetTagDeclaration.java?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/java/org/apache/myfaces/tobago/taglib/sandbox/SimpleSheetTagDeclaration.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/java/org/apache/myfaces/tobago/taglib/sandbox/SimpleSheetTagDeclaration.java Tue Dec 11 14:07:05 2012
@@ -111,7 +111,7 @@ public interface SimpleSheetTagDeclarati
* vertical toolbar when calculating column width's.<br />
* Possible values are: <pre>
* 'auto' : sheet try to estimate the need of scrollbar.
- * 'true' : space for scroolbar is reserved.
+ * 'true' : space for scrollbar is reserved.
* 'false' : no space is reserved.
* </pre>
*/
Modified: myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/sandbox/mozilla/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/sandbox/mozilla/style/style.css?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/sandbox/mozilla/style/style.css (original)
+++ myfaces/tobago/branches/tobago-1.0.x/sandbox/src/main/resources/org/apache/myfaces/tobago/renderkit/html/sandbox/mozilla/style/style.css Tue Dec 11 14:07:05 2012
@@ -22,7 +22,7 @@ div.tobago-tree-default {
}
table.tobago-tree-default {
-/* this fixes scroolbar bug in mozilla >= 1.6 */
+/* this fixes scrollbar bug in mozilla >= 1.6 */
margin: 1px;
}
Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/GridLayoutRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/GridLayoutRenderer.java?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/GridLayoutRenderer.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/GridLayoutRenderer.java Tue Dec 11 14:07:05 2012
@@ -506,7 +506,7 @@ public class GridLayoutRenderer extends
final Map attributes = layout.getParent().getAttributes();
- boolean needVerticalScroolbar = false;
+ boolean needVerticalScrollbar = false;
Integer innerHeight =
(Integer) attributes.get(ATTR_INNER_HEIGHT);
if (innerHeight != null && innerHeight.intValue() > 0) {
@@ -514,7 +514,7 @@ public class GridLayoutRenderer extends
int minimum = calculateLayoutHeight(facesContext, layout.getParent(), true);
if (minimum > value) {
value = minimum;
- needVerticalScroolbar = true;
+ needVerticalScrollbar = true;
}
layoutHeight(Integer.valueOf(value), layout, facesContext);
} else {
@@ -526,7 +526,7 @@ public class GridLayoutRenderer extends
(Integer) attributes.get(ATTR_INNER_WIDTH);
if (innerWidth != null && innerWidth.intValue() != -1) {
int value = innerWidth.intValue();
- if (needVerticalScroolbar) {
+ if (needVerticalScrollbar) {
value -= getConfiguredValue(facesContext, component, "scrollbarWidth");
HtmlRendererUtil.replaceStyleAttribute(layout, "width", value);
}
Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java Tue Dec 11 14:07:05 2012
@@ -719,16 +719,15 @@ public class SheetRenderer extends Layou
// estimate need of height-scrollbar on client, if yes we have to consider
// this when calculating column width's
- final Object forceScroolbar
+ final Object forceScrollbar
= data.getAttributes().get(ATTR_FORCE_VERTICAL_SCROLLBAR);
- if (forceScroolbar != null) {
- if ("true".equals(forceScroolbar)) {
+ if (forceScrollbar != null) {
+ if ("true".equals(forceScrollbar)) {
return true;
- } else if ("false".equals(forceScroolbar)) {
+ } else if ("false".equals(forceScrollbar)) {
return false;
- } else if (!"auto".equals(forceScroolbar)) {
- LOG.warn("Illegal value for attribute 'forceVerticalScrollbar' : \""
- + forceScroolbar + "\"");
+ } else if (!"auto".equals(forceScrollbar)) {
+ LOG.warn("Illegal value for attribute 'forceVerticalScrollbar' : \"" + forceScrollbar + "\"");
}
}
Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/style/style.css?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/style/style.css (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/style/style.css Tue Dec 11 14:07:05 2012
@@ -36,7 +36,7 @@ div.tobago-treeOld-default {
}
table.tobago-treeOld-default {
-/* this fixes scroolbar bug in mozilla >= 1.6 */
+/* this fixes scrollbar bug in mozilla >= 1.6 */
margin: 1px;
}
Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/property/tobago-theme-config.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/property/tobago-theme-config.properties?rev=1420177&r1=1420176&r2=1420177&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie/property/tobago-theme-config.properties Tue Dec 11 14:07:05 2012
@@ -29,5 +29,5 @@ Messages.fixedHeight=1
# scrollbarWidth is 16, but on some ie's need's to be 17 to prevent horizontal
-# scroolbar
+# scrollbar
Sheet.scrollbarWidth=17