Author: ayanul
Date: 2007-12-07 08:12:34 -0500 (Fri, 07 Dec 2007)
New Revision: 4590
Modified:
branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1264
Modified:
branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java 2007-12-07
12:28:32 UTC (rev 4589)
+++
branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java 2007-12-07
13:12:34 UTC (rev 4590)
@@ -1,8 +1,17 @@
package virtualEarth;
public class VirtualEarth {
- String zoom;
+ private String zoom;
+ private String version;
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
public String getZoom() {
return zoom;
}
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml 2007-12-07
12:28:32 UTC (rev 4589)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml 2007-12-07
13:12:34 UTC (rev 4590)
@@ -2,7 +2,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<h:panelGrid columns="2">
- <rich:virtualEarth style="width:800px;" id="gm"
lat="37.97" dashboardSize="Normal"
zoom="#{virtualEarth.zoom}"
+ <rich:virtualEarth style="width:800px;"
version="#{virtualEarth.version}" id="gm" lat="37.97"
dashboardSize="Normal" zoom="#{virtualEarth.zoom}"
mapStyle="Hybrid" var="map"
onclick="print('onclickInputID', 'onclick work!')"
ondblclick="print('ondblclickInputID', 'ondblclick work!')"
onkeydown="print('onkeydownInputID', 'onkeydown work!')"
onkeypress="print('onkeypressInputID', 'onkeypress work!')"
onkeyup="print('onkeyupInputID', 'onkeyup work!')"