I chatted with Igor on ##wicket, and he suggested the following solutions:
* use freemarker or velocity to render the parts of the javascript that need to know urls of wicket components
* create a custom panel that can perform substitutions at render time

I will post my results when I get it working.

thanks,
jim


Jim McLaughlin wrote:
Yes. The problem with wicket-contrib-gmap is that all the gmap components are not wicket components. They get injected into the page as pure javascript. I want to get them rendered by wicket so I can attach Links and hopefully AjaxHandlers to them.

thanks,
jim

Juergen Donnerstag wrote:

Did you check project wicket-stuff module wicket-contrib-gmap and
wicket-contrib-gmap-examples already.

Juergen

On 12/29/05, Jim McLaughlin <[EMAIL PROTECTED]> wrote:

We want to include a google map in our webapp and use it as a navigation
tool. Can someone advise us how to add a Link or AjaxHandler to a
GMarker? The problem is that the gmap components are rendered as a
javascript blob outside of the wicket rendering process. I guess the
bigger question is howto make wicket render components as javascript.
I've been puzzling over how to have a ListView of GMarkers render to the
proper javascript, with Links or AjaxHandlers passed to
GEvent.addListener(...).

thanks,
jim



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to