JBoss Rich Faces SVN: r9473 - trunk/test-applications/jsp/src/main/java/separator.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 04:41:11 -0400 (Wed, 09 Jul 2008)
New Revision: 9473
Modified:
trunk/test-applications/jsp/src/main/java/separator/Separator.java
Log:
binding correction
Modified: trunk/test-applications/jsp/src/main/java/separator/Separator.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/separator/Separator.java 2008-07-09 08:37:31 UTC (rev 9472)
+++ trunk/test-applications/jsp/src/main/java/separator/Separator.java 2008-07-09 08:41:11 UTC (rev 9473)
@@ -178,4 +178,12 @@
setLineType("solid");
setTitle("Test5");
}
+
+ public HtmlSeparator getHtmlSeparator() {
+ return htmlSeparator;
+ }
+
+ public void setHtmlSeparator(HtmlSeparator htmlSeparator) {
+ this.htmlSeparator = htmlSeparator;
+ }
}
16 years, 2 months
JBoss Rich Faces SVN: r9472 - trunk/test-applications/jsp/src/main/java/modalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 04:37:31 -0400 (Wed, 09 Jul 2008)
New Revision: 9472
Modified:
trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-07-09 08:37:16 UTC (rev 9471)
+++ trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-07-09 08:37:31 UTC (rev 9472)
@@ -264,7 +264,7 @@
this.htmlModalPanel = myModalPanel;
}
- public void add(){
+ public void addHtmlModalPanel(){
ComponentInfo info = ComponentInfo.getInstance();
info.addField(htmlModalPanel);
}
16 years, 2 months
JBoss Rich Faces SVN: r9471 - trunk/test-applications/jsp/src/main/webapp/ModalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 04:37:16 -0400 (Wed, 09 Jul 2008)
New Revision: 9471
Modified:
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp
Log:
add test
Modified: trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp 2008-07-09 08:34:32 UTC (rev 9470)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanelProperty.jsp 2008-07-09 08:37:16 UTC (rev 9471)
@@ -4,83 +4,87 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="ModalPanelPropertySubviewID">
- <h:panelGrid columns="2">
- <h:outputText value="visualOptions"></h:outputText>
- <h:inputText value="#{modalPanel.visualOptions}" onchange="submit();"></h:inputText>
-
- <h:outputText value="shadowDepth" />
- <h:inputText value="#{modalPanel.shadowDepth}" >
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="shadowOpacity" />
- <h:inputText value="#{modalPanel.shadowOpacity}" >
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
+<h:commandButton value="add test" action="#{modalPanel.addHtmlModalPanel}"></h:commandButton>
+ <h:panelGrid columns="2">
+ <h:outputText value="visualOptions"></h:outputText>
+ <h:inputText value="#{modalPanel.visualOptions}" onchange="submit();"></h:inputText>
- <h:outputText value="keepVisualState" />
- <h:selectBooleanCheckbox value="#{modalPanel.keepVisualState}" >
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="shadowDepth" />
+ <h:inputText value="#{modalPanel.shadowDepth}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
- <h:outputText value="left" />
- <h:inputText value="#{modalPanel.left}" >
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="top" />
- <h:inputText value="#{modalPanel.top}" >
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="rendered" />
- <h:selectBooleanCheckbox value="#{modalPanel.rendered}" onchange="submit();">
-
- </h:selectBooleanCheckbox>
-
- <h:outputText value="showWhenRendered" />
- <h:selectBooleanCheckbox value="#{modalPanel.showWhenRendered}" >
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="zindex" />
- <h:selectOneRadio value="#{modalPanel.zindex}">
- <f:selectItem itemLabel="1" itemValue="1" />
- <f:selectItem itemLabel="3" itemValue="3" />
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Width:" />
- <h:inputText value="#{modalPanel.width}">
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
+ <h:outputText value="shadowOpacity" />
+ <h:inputText value="#{modalPanel.shadowOpacity}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
- <h:outputText value="Height:" />
- <h:inputText value="#{modalPanel.height}">
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
+ <h:outputText value="keepVisualState" />
+ <h:selectBooleanCheckbox value="#{modalPanel.keepVisualState}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="minWidth:" />
- <h:inputText value="#{modalPanel.minWidth}">
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
+ <h:outputText value="left" />
+ <h:inputText value="#{modalPanel.left}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
- <h:outputText value="minHeight:" />
- <h:inputText value="#{modalPanel.minHeight}">
- <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="autosized:" />
- <h:selectBooleanCheckbox value="#{modalPanel.autosized}" onchange="submit();">
- </h:selectBooleanCheckbox>
+ <h:outputText value="top" />
+ <h:inputText value="#{modalPanel.top}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
- <h:outputText value="resizeable:" />
- <h:selectBooleanCheckbox value="#{modalPanel.resizeable}" onchange="submit();">
- </h:selectBooleanCheckbox>
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{modalPanel.rendered}"
+ onchange="submit();">
- <h:outputText value="Moveable:" />
- <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
- <a4j:support event="onclick" reRender="modalPanelID"></a4j:support>
- </h:selectBooleanCheckbox>
- </h:panelGrid>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showWhenRendered" />
+ <h:selectBooleanCheckbox value="#{modalPanel.showWhenRendered}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="zindex" />
+ <h:selectOneRadio value="#{modalPanel.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Width:" />
+ <h:inputText value="#{modalPanel.width}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:" />
+ <h:inputText value="#{modalPanel.height}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minWidth:" />
+ <h:inputText value="#{modalPanel.minWidth}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minHeight:" />
+ <h:inputText value="#{modalPanel.minHeight}">
+ <a4j:support event="onchange" reRender="modalPanelID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="autosized:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.autosized}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="resizeable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.resizeable}"
+ onchange="submit();">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Moveable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
+ <a4j:support event="onclick" reRender="modalPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 2 months
JBoss Rich Faces SVN: r9470 - trunk/test-applications/jsp/src/main/java/modalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 04:34:32 -0400 (Wed, 09 Jul 2008)
New Revision: 9470
Modified:
trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
Log:
binding correction
Modified: trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-07-09 08:31:34 UTC (rev 9469)
+++ trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-07-09 08:34:32 UTC (rev 9470)
@@ -256,11 +256,11 @@
this.bindLabel = bindLabel;
}
- public HtmlModalPanel getMyModalPanel() {
+ public HtmlModalPanel getHtmlModalPanel() {
return htmlModalPanel;
}
- public void setMyModalPanel(HtmlModalPanel myModalPanel) {
+ public void setHtmlModalPanel(HtmlModalPanel myModalPanel) {
this.htmlModalPanel = myModalPanel;
}
16 years, 2 months
JBoss Rich Faces SVN: r9469 - trunk/test-applications/jsp/src/main/java/message.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 04:31:34 -0400 (Wed, 09 Jul 2008)
New Revision: 9469
Modified:
trunk/test-applications/jsp/src/main/java/message/Message.java
Log:
binding correction
Modified: trunk/test-applications/jsp/src/main/java/message/Message.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/message/Message.java 2008-07-09 08:27:41 UTC (rev 9468)
+++ trunk/test-applications/jsp/src/main/java/message/Message.java 2008-07-09 08:31:34 UTC (rev 9469)
@@ -1,7 +1,7 @@
package message;
-import javax.faces.component.html.HtmlMessage;
-import javax.faces.component.html.HtmlMessages;
+import org.richfaces.component.html.HtmlRichMessage;
+import org.richfaces.component.html.HtmlRichMessages;
import util.componentInfo.ComponentInfo;
@@ -17,8 +17,8 @@
private String select3;
private String select4;
private String select5;
- private HtmlMessage htmlMessage = null;
- private HtmlMessages htmlMessages = null;
+ private HtmlRichMessage htmlMessage = null;
+ private HtmlRichMessages htmlMessages = null;
public void addHtmlMessages(){
ComponentInfo info = ComponentInfo.getInstance();
@@ -26,19 +26,19 @@
info.addField(htmlMessages);
}
- public HtmlMessage getHtmlMessage() {
+ public HtmlRichMessage getHtmlMessage() {
return htmlMessage;
}
- public void setHtmlMessage(HtmlMessage htmlMessage) {
+ public void setHtmlMessage(HtmlRichMessage htmlMessage) {
this.htmlMessage = htmlMessage;
}
- public HtmlMessages getHtmlMessages() {
+ public HtmlRichMessages getHtmlMessages() {
return htmlMessages;
}
- public void setHtmlMessages(HtmlMessages htmlMessages) {
+ public void setHtmlMessages(HtmlRichMessages htmlMessages) {
this.htmlMessages = htmlMessages;
}
16 years, 2 months
JBoss Rich Faces SVN: r9468 - trunk/test-applications/jsp/src/main/java/inplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 04:27:41 -0400 (Wed, 09 Jul 2008)
New Revision: 9468
Modified:
trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java
Log:
binding correction
Modified: trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java 2008-07-09 07:57:29 UTC (rev 9467)
+++ trunk/test-applications/jsp/src/main/java/inplaceInput/InplaceInput.java 2008-07-09 08:27:41 UTC (rev 9468)
@@ -52,11 +52,11 @@
layout = "inline";
}
- public HtmlInplaceInput getMyInplaceInput() {
+ public HtmlInplaceInput getHtmlInplaceInput() {
return htmlInplaceInput;
}
- public void setMyInplaceInput(HtmlInplaceInput myInplaceInput) {
+ public void setHtmlInplaceInput(HtmlInplaceInput myInplaceInput) {
this.htmlInplaceInput = myInplaceInput;
}
16 years, 2 months
JBoss Rich Faces SVN: r9467 - trunk/test-applications/facelets/src/main/java/util/componentInfo.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-07-09 03:57:29 -0400 (Wed, 09 Jul 2008)
New Revision: 9467
Added:
trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentAttribute.java
Log:
Added: trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentAttribute.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentAttribute.java (rev 0)
+++ trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentAttribute.java 2008-07-09 07:57:29 UTC (rev 9467)
@@ -0,0 +1,60 @@
+/**
+ *
+ */
+package util.componentInfo;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * @author user
+ *
+ */
+public class ComponentAttribute {
+ private Map<String, String> attribute = new HashMap<String, String>();
+ private Map<String, String> event = new HashMap<String, String>();
+ private Map<String, String> style = new HashMap<String, String>();
+
+ public String putAttribute(String attribute, String value) {
+ return this.attribute.put(attribute, value);
+ }
+
+ public String putEvent(String event, String value){
+ return this.event.put(event, value);
+ }
+
+ public String putStyle(String style, String value) {
+ return this.style.put(style, value);
+ }
+
+ public String removeAttribute(String attribute) {
+ return this.attribute.remove(attribute);
+ }
+
+ public String removeEvent(String event) {
+ return this.attribute.remove(event);
+ }
+
+ public String removeStyle(String style) {
+ return this.attribute.remove(style);
+ }
+
+ public void cleanAll() {
+ this.attribute.clear();
+ this.event.clear();
+ this.style.clear();
+ }
+
+ public Set<Map.Entry<String, String>> getAttributeEntry() {
+ return attribute.entrySet();
+ }
+
+ public Set<Map.Entry<String, String>> getEventEntry(){
+ return event.entrySet();
+ }
+
+ public Set<Map.Entry<String, String>> getStyleEntry(){
+ return style.entrySet();
+ }
+}
16 years, 2 months
JBoss Rich Faces SVN: r9466 - trunk/test-applications/facelets/src/main/java/util/componentInfo.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-07-09 03:57:04 -0400 (Wed, 09 Jul 2008)
New Revision: 9466
Modified:
trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentInfo.java
Log:
Modified: trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentInfo.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentInfo.java 2008-07-09 07:43:33 UTC (rev 9465)
+++ trunk/test-applications/facelets/src/main/java/util/componentInfo/ComponentInfo.java 2008-07-09 07:57:04 UTC (rev 9466)
@@ -2,10 +2,23 @@
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.Map.Entry;
+import javax.faces.component.UIComponent;
+
public class ComponentInfo {
- private final String beanName;
+ private static volatile ComponentInfo INSTANCE;
+ private ComponentAttribute componentAttribute = new ComponentAttribute();
+ private Object component = null;
+ private String beanName;
private String description;
private String attribute;
private String property;
@@ -17,6 +30,9 @@
this.property = "";
print = true;
}
+
+ protected ComponentInfo() {
+ }
public void setComponentInfo(String attribute, String property) {
this.attribute = attribute;
@@ -25,6 +41,15 @@
if(print) printInfo();
}
+ public static ComponentInfo getInstance() {
+ if (INSTANCE == null)
+ synchronized (ComponentInfo.class) {
+ if (INSTANCE == null)
+ INSTANCE = new ComponentInfo();
+ }
+ return INSTANCE;
+ }
+
public void setComponentInfo(String attribute, String property, String description) {
this.attribute = attribute;
this.property = property;
@@ -59,7 +84,52 @@
}
return r;
}
+
+ public void addField(Object component) {
+ if (component == null)
+ return;
+ this.component = component;
+ componentAttribute.cleanAll();
+ String str = null;
+ Field[] fields = component.getClass().getDeclaredFields();
+ AccessibleObject.setAccessible(fields, true);
+ for (Field field : fields) {
+ if (!Modifier.isStatic(field.getModifiers())) {
+ str = field.getName().substring(1);
+ if (str.startsWith("on")) {
+ componentAttribute.putEvent(str,
+ "");
+ } else if (str.indexOf("tyle") != -1 || str.indexOf("lass") != -1) {
+ try {
+ Object obj = field.get(component);
+ componentAttribute.putStyle(str, obj == null ? "null" : obj.toString());
+ } catch (IllegalArgumentException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+
+ } else {
+
+ try {
+ Class cl = field.getType();
+ if(cl.isPrimitive() || cl.getName().equals("java.lang.String")){
+ Object obj = field.get(component);
+ componentAttribute.putAttribute(str, obj == null ? "null" : obj.toString());
+ } else componentAttribute.putAttribute(str, "---");
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ }
+ }
+
public boolean isPrint() {
return print;
}
@@ -92,4 +162,12 @@
public void setDescription(String description) {
this.description = description;
}
+
+ public Object getComponent() {
+ return component;
+ }
+
+ public void setComponent(Object component) {
+ this.component = component;
+ }
}
16 years, 2 months
JBoss Rich Faces SVN: r9465 - trunk/test-applications/facelets/src/main/java/util/data.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-07-09 03:43:33 -0400 (Wed, 09 Jul 2008)
New Revision: 9465
Modified:
trunk/test-applications/facelets/src/main/java/util/data/Data.java
Log:
Add new constructor
Modified: trunk/test-applications/facelets/src/main/java/util/data/Data.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/data/Data.java 2008-07-09 07:14:17 UTC (rev 9464)
+++ trunk/test-applications/facelets/src/main/java/util/data/Data.java 2008-07-09 07:43:33 UTC (rev 9465)
@@ -1,6 +1,7 @@
package util.data;
import java.io.Serializable;
+import java.util.Date;
import java.util.Random;
public class Data implements Serializable{
@@ -34,6 +35,7 @@
private boolean bool1;
private boolean bool2;
private boolean bool3;
+ private Date date0;
public Data() {
this.str0 = "";
@@ -102,6 +104,16 @@
this.bool0 = bool0;
}
+ //for scrollableDataTable component
+ public Data(int int0, String str0, String str1, String str2, String str3, Date date0){
+ this.int0 = int0;
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.date0 = date0;
+ }
+
public Data(String str0){
this.str0 = str0;
}
@@ -241,4 +253,12 @@
public String toString() {
return str0 +":"+int0;
}
+
+ public Date getDate0() {
+ return date0;
+ }
+
+ public void setDate0(Date date0) {
+ this.date0 = date0;
+ }
}
16 years, 2 months
JBoss Rich Faces SVN: r9464 - trunk/test-applications/jsp/src/main/java/virtualEarth.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-09 03:14:17 -0400 (Wed, 09 Jul 2008)
New Revision: 9464
Modified:
trunk/test-applications/jsp/src/main/java/virtualEarth/VirtualEarth.java
Log:
+attributes test
Modified: trunk/test-applications/jsp/src/main/java/virtualEarth/VirtualEarth.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/virtualEarth/VirtualEarth.java 2008-07-09 07:14:00 UTC (rev 9463)
+++ trunk/test-applications/jsp/src/main/java/virtualEarth/VirtualEarth.java 2008-07-09 07:14:17 UTC (rev 9464)
@@ -1,5 +1,9 @@
package virtualEarth;
+import org.richfaces.component.html.HtmlVirtualEarth;
+
+import util.componentInfo.ComponentInfo;
+
public class VirtualEarth {
private String zoom;
private String version;
@@ -8,7 +12,14 @@
private boolean rendered;
private String dashboardSize;
private String mapStyle;
+ private HtmlVirtualEarth myVirtualEarth = null;
+ public HtmlVirtualEarth getMyVirtualEarth() {
+ return myVirtualEarth;
+ }
+ public void setMyVirtualEarth(HtmlVirtualEarth myVirtualEarth) {
+ this.myVirtualEarth = myVirtualEarth;
+ }
public VirtualEarth() {
version = "6";
zoom = "17";
@@ -19,6 +30,10 @@
mapStyle = "Hybrid";
rendered = true;
}
+ public void addHtmlVirtualEarth(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(myVirtualEarth);
+ }
public String getLat() {
return lat;
16 years, 2 months