[richfaces-svn-commits] JBoss Rich Faces SVN: r2224 - in trunk: ui/tree/src/main/config/component and 1 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Aug 13 10:27:12 EDT 2007
Author: pyaschenko
Date: 2007-08-13 10:27:12 -0400 (Mon, 13 Aug 2007)
New Revision: 2224
Modified:
trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
trunk/ui/tree/src/main/config/component/tree.xml
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
Log:
resize icon demo mode added
Modified: trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2007-08-13 14:07:05 UTC (rev 2223)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2007-08-13 14:27:12 UTC (rev 2224)
@@ -66,6 +66,8 @@
private String iconLeaf = null;
private String icon = null;
+ private String styleClass = "";
+
private boolean renderFacets = false;
private String pathToExpand;
@@ -98,7 +100,7 @@
iconExpanded = "/images/item.png";
iconLeaf = "/images/ajax_process.gif";
icon = "/images/ajax_stoped.gif";
- commandButtonCaption = "Set defoult icons";
+ commandButtonCaption = "Set default icons";
} else {
iconCollapsed = null;
iconExpanded = null;
@@ -326,6 +328,15 @@
this.iconLeaf = iconLeaf;
}
+ public String getStyleClass() {
+ return styleClass;
+ }
+
+ public void setStyleClass(String styleClass) {
+ this.styleClass = styleClass;
+ }
+
+
public String getPathToExpand() {
return pathToExpand;
}
Modified: trunk/ui/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/tree.xml 2007-08-13 14:07:05 UTC (rev 2223)
+++ trunk/ui/tree/src/main/config/component/tree.xml 2007-08-13 14:27:12 UTC (rev 2224)
@@ -129,6 +129,7 @@
<description>If "true", connecting lines are show</description>
<defaultvalue>true</defaultvalue>
</property>
+
<property>
<name>preserveDataInRequest</name>
<classname>boolean</classname>
Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss 2007-08-13 14:07:05 UTC (rev 2223)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss 2007-08-13 14:27:12 UTC (rev 2224)
@@ -29,16 +29,16 @@
padding: 1px;
}
+.dr-tree-h-ic-img{
+ width : 16px;
+ height : 16px;
+}
+
.dr-tree-h-ic-img-md{
margin: 0px;
display: block;
}
-.dr-tree-h-ic-img{
- width : 16px;
- height : 16px;
-}
-
.dr-tree-h-ic-facets{
overflow: hidden;
}
More information about the richfaces-svn-commits
mailing list