[richfaces-svn-commits] JBoss Rich Faces SVN: r435 - in trunk/richfaces/tree/src/main: templates and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Apr 18 08:53:17 EDT 2007


Author: sergeyhalipov
Date: 2007-04-18 08:53:17 -0400 (Wed, 18 Apr 2007)
New Revision: 435

Modified:
   trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
   trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx
Log:
Correct style definition for images inside nodes.

Modified: trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
===================================================================
--- trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss	2007-04-18 11:28:30 UTC (rev 434)
+++ trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss	2007-04-18 12:53:17 UTC (rev 435)
@@ -12,7 +12,7 @@
 	padding : 1px
 }
 
-.dr-tree-h-ic img{
+.dr-tree-h-ic-img{
 	margin: 0px;
 	display: block;
 	wigth : 16px;

Modified: trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx
===================================================================
--- trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx	2007-04-18 11:28:30 UTC (rev 434)
+++ trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx	2007-04-18 12:53:17 UTC (rev 435)
@@ -40,7 +40,7 @@
 						<![CDATA[
 							if (component.getUITree().isLeaf()) {
 						]]>
-					</jsp:scriptlet> <img id="#{clientId}:handle:img" src="#{spacer}" alt="" /> <jsp:scriptlet>
+					</jsp:scriptlet> <img id="#{clientId}:handle:img" src="#{spacer}" alt="" class="dr-tree-h-ic-img" /> <jsp:scriptlet>
 						<![CDATA[
 							} else {
 						]]>
@@ -48,14 +48,14 @@
 					onclick="#{this:getToggleScript(context, component)} return false;"> <jsp:scriptlet>
 						<![CDATA[if (component.getUITree().isExpanded()) {]]>
 					</jsp:scriptlet> <img border="0" id="#{clientId}:handle:img:collapsed"
-					src="#{collapsed}" class="dr-tree-pointer-cursor" style="display: none;" alt="" />
+					src="#{collapsed}" class="dr-tree-pointer-cursor dr-tree-h-ic-img" style="display: none;" alt="" />
 				<img border="0" id="#{clientId}:handle:img:expanded" src="#{expanded}"
-					class="dr-tree-pointer-cursor" alt="" /> <jsp:scriptlet>
+					class="dr-tree-pointer-cursor dr-tree-h-ic-img" alt="" /> <jsp:scriptlet>
 						<![CDATA[} else {]]>
 					</jsp:scriptlet> <img border="0" id="#{clientId}:handle:img:collapsed"
-					src="#{collapsed}" class="dr-tree-pointer-cursor" alt="" /> <img border="0"
+					src="#{collapsed}" class="dr-tree-pointer-cursor dr-tree-h-ic-img" alt="" /> <img border="0"
 					id="#{clientId}:handle:img:expanded" src="#{expanded}"
-					class="dr-tree-pointer-cursor" style="display: none;" alt="" /> <jsp:scriptlet>
+					class="dr-tree-pointer-cursor dr-tree-h-ic-img" style="display: none;" alt="" /> <jsp:scriptlet>
 						<![CDATA[}]]>
 				</jsp:scriptlet> </a> <jsp:scriptlet>
 					<![CDATA[
@@ -75,13 +75,13 @@
 				if (component.getUITree().isLeaf()) {
 				]]>
 			</jsp:scriptlet>
-				<img src="#{leaf}" alt="" />
+				<img src="#{leaf}" alt="" class="dr-tree-h-ic-img" />
 			<jsp:scriptlet>
 				<![CDATA[
 				} else {
 				]]>
 			</jsp:scriptlet>
-				<img src="#{folder}" alt="" />
+				<img src="#{folder}" alt="" class="dr-tree-h-ic-img" />
 			<jsp:scriptlet>
 				<![CDATA[
 				}




More information about the richfaces-svn-commits mailing list