Want explaination for MapWidget.addMapZoomEndHandler

2010-05-18 Thread xia
In the reference it says "This event is fired when a map type is added
to the map."?

What does that mean? Can I just say the event will be fired when the
Zoom action ends?

also want a confirmation for MapWidget.addMapMoveEndHandler. The
reference says "This event is fired when the change of the map view
ends. ". This means either move or zoom will trigger the event?

thanks, Xia Weizhong

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Internationalization for com.google.gwt.maps.client.MapWidget

2010-04-26 Thread xia
Hi

I am not sure if this has been asked. Basically I want to be able to
control the language used to display the names on the map, and all
controls that use a text.

Is this possible?

thanks, Xia Weizhong

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT+Gilead(Hibernate) Help! Exception by bidirectional one-to-many

2010-03-25 Thread Mingmei Xia
I have got a Exception when i attempt to use a bidirectional one-to-
many relation.
single one-to-many, or many-to-one, or many-to-many works fine, only
the bidirectional failed.

...


...




...


java.lang.RuntimeException: java.lang.ClassCastException: $Proxy22
cannot be cast to org.hibernate.impl.SessionImpl
at
net.sf.gilead.core.beanlib.merge.MergePropertyFilter.propagate(MergePropertyFilter.java:
221)
at net.sf.beanlib.provider.BeanPopulator.doit(BeanPopulator.java:186)
at
net.sf.beanlib.provider.BeanPopulator.processSetterMethod(BeanPopulator.java:
172)
at net.sf.beanlib.provider.BeanPopulator.populate(BeanPopulator.java:
269)
at
net.sf.beanlib.provider.replicator.ReplicatorTemplate.populateBean(ReplicatorTemplate.java:
190)
at
net.sf.beanlib.provider.replicator.BeanReplicator.replicateBean(BeanReplicator.java:
187)
at
net.sf.beanlib.hibernate3.Hibernate3JavaBeanReplicator.replicateBean(Hibernate3JavaBeanReplicator.java:
71)
at
net.sf.gilead.core.beanlib.merge.MergeClassBeanReplicator.replicateBean(MergeClassBeanReplicator.java:
161)
at
net.sf.beanlib.provider.replicator.ReplicatorTemplate.replicateByBeanReplicatable(ReplicatorTemplate.java:
140)
at
net.sf.beanlib.provider.replicator.ReplicatorTemplate.replicate(ReplicatorTemplate.java:
135)
at
net.sf.beanlib.provider.BeanTransformer.transform(BeanTransformer.java:
231)
at net.sf.beanlib.provider.BeanPopulator.doit(BeanPopulator.java:201)
at
net.sf.beanlib.provider.BeanPopulator.processSetterMethod(BeanPopulator.java:
172)
at net.sf.beanlib.provider.BeanPopulator.populate(BeanPopulator.java:
269)
at net.sf.gilead.core.LazyKiller.populate(LazyKiller.java:288)
at net.sf.gilead.core.LazyKiller.attach(LazyKiller.java:237)
at
net.sf.gilead.core.PersistentBeanManager.mergePojo(PersistentBeanManager.java:
545)
at
net.sf.gilead.core.PersistentBeanManager.merge(PersistentBeanManager.java:
318)
at
net.sf.gilead.gwt.GileadRPCHelper.parseInputParameters(GileadRPCHelper.java:
94)
at
net.sf.gilead.gwt.GileadRPCHelper.parseInputParameters(GileadRPCHelper.java:
137)
at
net.sf.gilead.gwt.PersistentRemoteService.processCall(PersistentRemoteService.java:
172)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
at org.mortbay.jetty.HttpConnection
$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)
Caused by: java.lang.ClassCastException: $Proxy22 cannot be cast to
org.hibernate.impl.SessionImpl
at
net.sf.gilead.core.hibernate.HibernateUtil.createPersistentCollection(HibernateUtil.java:
725)
at
net.sf.gilead.core.beanlib.merge.MergePropertyFilter.propagate(MergePropertyFilter.java:
180)
... 41 more


there are by Bidirectional many-to-many the same Exception

:..









.

I don't understand, Why works it fine with single Relations , but only
not the "BI-Directionality"



Can anybody help me? thanks a lot.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.