On 3/6/07, Peter Neubauer <[EMAIL PROTECTED]> wrote:

Hi there,
I am trying to push out events that contain the moving locations of a
users buddies, so I can update the GMap on the page using plain JS and
the GMarkerManager.

Right now I am using Pushlet for this, but that has the disadvantage
that it is not integrated into Wicket, and it uses a generic broadcast
mechanism, much like JMS subscribing to topics from JS.

Is there any way to get this functionality working using Wicket, e.g.
the GMap not being reloaded, just moving the markers on a pull/push
interval?

Thanks for any hints!


I'm also in need of such things, and I've started a thread about that last
week:
http://www.nabble.com/server-side-triggered-page-refresh-%28aka-push%29-tf3321420.html#a9234009

As you see I'd like to implement two ways to do that, one simple purely
wicket based, and another more scalable requiring dojo. In your case I don't
know much about your map, but with the implementation I propose you can send
javascript as you would on an AjaxRequestTarget, so I guess it should be ok.
I already have an first implementation (the simple one, pure wicket), but
last time I checked it wasn't working due to a bug in wicket (see
WICKET-343). But if you want I can share this implementation with you (I
think I will even create an issue in JIRA with the patch attached, even if
it doesn't work with the wicket 1.x branch right now).

- Xavier

/peter

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to