> if I put www.google.com, then clicking on the map links to http://xxx/mapguide2008/mapviewerajax/www.google.com
www.google.com is not a url Ok, it might be, but only in the context
that MapGuide (or more likely the web browser) is interpreting it: as a
relative url. You would see the same results if you used www.google.com
as the value of the href attribute in an HTML anchor (a) element.
You need to include the http:// part for it to work, and should really
include the trailing slash as well.
Back in the old days, browsers did not allow you to get away with typing
the host name without specifying the protocol... then they clued in and
assisted the users (and marketers) by making the assumption that most
users of web browsers actually want to see a web site.