[richfaces-svn-commits] JBoss Rich Faces SVN: r14464 - in branches/community/3.3.X/ui/gmap/src: main/templates and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jun 3 13:53:34 EDT 2009


Author: konstantin.mishin
Date: 2009-06-03 13:53:34 -0400 (Wed, 03 Jun 2009)
New Revision: 14464

Modified:
   branches/community/3.3.X/ui/gmap/src/main/resources/org/richfaces/renderkit/html/css/gmap.xcss
   branches/community/3.3.X/ui/gmap/src/main/templates/gmap.jspx
   branches/community/3.3.X/ui/gmap/src/test/java/org/richfaces/component/GmapComponentTest.java
Log:
RF-7317

Modified: branches/community/3.3.X/ui/gmap/src/main/resources/org/richfaces/renderkit/html/css/gmap.xcss
===================================================================
--- branches/community/3.3.X/ui/gmap/src/main/resources/org/richfaces/renderkit/html/css/gmap.xcss	2009-06-03 17:47:22 UTC (rev 14463)
+++ branches/community/3.3.X/ui/gmap/src/main/resources/org/richfaces/renderkit/html/css/gmap.xcss	2009-06-03 17:53:34 UTC (rev 14464)
@@ -3,7 +3,7 @@
    xmlns:u='http:/jsf.exadel.com/template/util' 
    xmlns="http://www.w3.org/1999/xhtml" >
    <f:verbatim><![CDATA[
-.dr-gmap{
+.rich-gmap{
   width:400px;
   height:400px;
 }

Modified: branches/community/3.3.X/ui/gmap/src/main/templates/gmap.jspx
===================================================================
--- branches/community/3.3.X/ui/gmap/src/main/templates/gmap.jspx	2009-06-03 17:47:22 UTC (rev 14463)
+++ branches/community/3.3.X/ui/gmap/src/main/templates/gmap.jspx	2009-06-03 17:53:34 UTC (rev 14464)
@@ -29,7 +29,7 @@
     <h:styles>css/gmap.xcss</h:styles>
 	<h:scripts>new org.ajax4jsf.javascript.PrototypeScript(),script/gmap.js</h:scripts>
 
-<div	id="#{clientId}" class="dr-gmap rich-gmap #{component.attributes['styleClass']}" x:passThruWithExclusions="id,class,styleClass">
+<div	id="#{clientId}" class="rich-gmap #{component.attributes['styleClass']}" x:passThruWithExclusions="id,class,styleClass">
 			
 <script type="text/javascript"  src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=#{key}&amp;hl=#{locale}" />
 <script type="text/javascript">

Modified: branches/community/3.3.X/ui/gmap/src/test/java/org/richfaces/component/GmapComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/gmap/src/test/java/org/richfaces/component/GmapComponentTest.java	2009-06-03 17:47:22 UTC (rev 14463)
+++ branches/community/3.3.X/ui/gmap/src/test/java/org/richfaces/component/GmapComponentTest.java	2009-06-03 17:53:34 UTC (rev 14464)
@@ -96,7 +96,6 @@
     	assertTrue("div".equals(htmlGmap.getTagName()));
     	assertEquals(htmlGmap.getAttributeValue("style"), TEST_STYLE);
 
-    	assertTrue(htmlGmap.getAttributeValue("class").contains("dr-gmap"));
     	assertTrue(htmlGmap.getAttributeValue("class").contains("rich-gmap"));
 
     }




More information about the richfaces-svn-commits mailing list