Chris Norris wrote:
The way I would do it would probably be a combination of Shawn's two
methods. Something like this:
<a jwcid="@Any" href="ognl:yahooUrl">Yahoo map</a>
public String getYahooUrl()
{
String url = "http://maps.yahoo.com/maps_result";
url += "?addr=" + getLocation().getAddress().getLine();
url += "&csz=" + getLocation().getAddress().getCity();
return url;
}
Yes, that's what I just did, and it worked perfectly.
Shawn's second method wouldn't make a link, it would just spit out the
URL. If the java method constructing the link String put in html link
tags, then the raw="true" specified in the Insert component would indeed
construct a link.
That would work, but doesn't look as clean as the above.
Thank you both for your help.
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]