-
1. Re: reRedening of rich:gmap
user1234 Apr 10, 2008 8:25 AM (in response to user1234)is this a bug??? please help..
-
2. Re: reRedening of rich:gmap
sergeysmirnov Apr 10, 2008 11:29 AM (in response to user1234)No, it is not a bug. It is a nature of the original Google GMap widget rich:gmap based on. It does not allow to work in the Ajax context at all. Gmap API is enough to make any manipulation with the map by the API call. Use them.
-
3. Re: reRedening of rich:gmap
user1234 Apr 10, 2008 3:02 PM (in response to user1234)but sometimes it is need to rerender the top element of gmap so there how can i handle it..like in side a datatable gmap is there and i need to rerender the datatable..
-
4. Re: reRedening of rich:gmap
sergeysmirnov Apr 10, 2008 3:07 PM (in response to user1234)you need to avoid it. no workaround. The same for tabPanel switchType="ajax" and other components with built-in Ajax support. Gmap will not work there?
-
5. Re: reRedening of rich:gmap
mars1412 Apr 11, 2008 3:43 AM (in response to user1234)you need to avoid it. no workaround. The same for tabPanel switchType="ajax"
I have a tabPanel with switch type "ajax" but the panel where the gmap is displayed uses has switch type "client"<rich:tabPanel switchType="ajax"> <rich:tab switchType="client"> <rich:gmap /> ...
this should work, shouldn't it? -
6. Re: reRedening of rich:gmap
user1234 Apr 11, 2008 4:20 AM (in response to user1234)i can handle the rerendering problem in IE , suppose of a4j:support action doing something and when returning back in page oncomplete i am initializing the map, this is working fine in IE but not in other..
it should be better is there is some solution to handle the rerendering directly, as we can't minimize the scope of requirement.. -
7. Re: reRedening of rich:gmap
mars1412 Apr 11, 2008 4:29 AM (in response to user1234)if you only need to update markers or the location on your map, there is no need for rerendering the map: all this can be done via the gmap java-script api
why do you insist on rerendering?
what do you want to du? -
8. Re: reRedening of rich:gmap
sergeysmirnov Apr 11, 2008 12:56 PM (in response to user1234)"user1234" wrote:
i can handle the rerendering problem in IE , suppose of a4j:support action doing something and when returning back in page oncomplete i am initializing the map, this is working fine in IE but not in other..
it should be better is there is some solution to handle the rerendering directly, as we can't minimize the scope of requirement..
I do not thing your requirement says that you must use RichFaces' reRender, but not Google Map API to work with map. It sounds too weird.