[richfaces-svn-commits] JBoss Rich Faces SVN: r12041 - trunk/ui/inplaceSelect/src/main/templates.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Dec 29 06:55:35 EST 2008


Author: abelevich
Date: 2008-12-29 06:55:35 -0500 (Mon, 29 Dec 2008)
New Revision: 12041

Modified:
   trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
https://jira.jboss.org/jira/browse/RF-5472

Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx	2008-12-29 11:55:11 UTC (rev 12040)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx	2008-12-29 11:55:35 UTC (rev 12041)
@@ -60,12 +60,12 @@
 	   	
 	   	String saveIcon =  (String)component.getAttributes().get("saveControlIcon");
 	   	if (saveIcon != null && saveIcon.length() != 0 ) {
-	   	 	variables.setVariable("saveIcon", getResource(saveIcon).getUri(context, component));
+	   		variables.setVariable("saveIcon", org.richfaces.component.util.ViewUtil.getResourceURL(saveIcon ,context));
 	   	}
 	   	
 	   	String cancelIcon =  (String)component.getAttributes().get("cancelControlIcon");
 	   	if (cancelIcon != null && cancelIcon.length() != 0 ) {
-	   	 	variables.setVariable("cancelIcon", getResource(cancelIcon).getUri(context, component));
+	   		variables.setVariable("cancelIcon", org.richfaces.component.util.ViewUtil.getResourceURL(cancelIcon ,context));
 	   	}
 
 	   	String controlClass = (String)component.getAttributes().get("controlClass");




More information about the richfaces-svn-commits mailing list