Author: sergeyhalipov
Date: 2007-10-30 13:33:21 -0400 (Tue, 30 Oct 2007)
New Revision: 3623
Modified:
trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml
trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx
trunk/ui/virtualEarth/src/test/java/org/richfaces/component/VirtualEarthComponentTest.java
Log:
http://jira.jboss.com/jira/browse/RF-1264
Modified: trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml
===================================================================
--- trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml 2007-10-30 16:25:09
UTC (rev 3622)
+++ trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml 2007-10-30 17:33:21
UTC (rev 3623)
@@ -85,5 +85,13 @@
</description>
<defaultvalue>"Normal"</defaultvalue>
</property>
+ <property>
+ <name>version</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Virtual earth version, default - "6"
+ </description>
+ <defaultvalue>"6"</defaultvalue>
+ </property>
</component>
</components>
Modified: trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx
===================================================================
--- trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx 2007-10-30 16:25:09 UTC
(rev 3622)
+++ trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx 2007-10-30 17:33:21 UTC
(rev 3623)
@@ -25,7 +25,7 @@
<div id="#{clientId}" style="position:relative; width:400px;
height:400px;#{style}" class="dr-ve rich-virtualEarth
#{component.attributes['styleClass']}"
x:passThruWithExclusions="id, styleClass,style,class"
-<script type="text/javascript"
src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=5" />
+<script type="text/javascript"
src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=#{comp...
/>
<script type="text/javascript">
//<![CDATA[
Modified:
trunk/ui/virtualEarth/src/test/java/org/richfaces/component/VirtualEarthComponentTest.java
===================================================================
---
trunk/ui/virtualEarth/src/test/java/org/richfaces/component/VirtualEarthComponentTest.java 2007-10-30
16:25:09 UTC (rev 3622)
+++
trunk/ui/virtualEarth/src/test/java/org/richfaces/component/VirtualEarthComponentTest.java 2007-10-30
17:33:21 UTC (rev 3623)
@@ -51,7 +51,7 @@
javaScripts.add("org.ajax4jsf.javascript.PrototypeScript");
javaScripts.add("org.ajax4jsf.javascript.AjaxScript");
javaScripts.add("script/virtualEarth.js");
-
javaScripts.add("http://dev.virtualearth.net/mapcontrol/mapcontrol.a...;
+
javaScripts.add("http://dev.virtualearth.net/mapcontrol/mapcontrol.a...;
}
/**