nevermind... I found it in the API docs: ExternalLink class
 
 ~ amol

----- Original Message ----
From: [EMAIL PROTECTED]
To: [email protected]
Sent: Friday, February 24, 2006 4:32:12 PM
Subject: [Wicket-user] newb: setting href for the anchor tag

Hi,
 
 I'm trying to create a page with dynamic links to resources external to the 
webapp.
 (eg. something like a search results page from a search engine)
 
 ie. I would like to have a bunch of 
           <a href="">blah</a> 
 generated in my web page, but the value for the href is dynamically set in the 
java code.
 
 However, I cannot figure out how to set the href for an external link (anchor 
tag)
 All the examples I have seen so far have demonstrated linking to pages within 
the
 web application.
 
 I also tried overriding the getUrl() method in my Link subclass, but 
apparently it does
 not seem to get invoked.
 
 What is the recommended way to do this?
 
 Thanks,
 ~ amol



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to