application context in links

2008-08-28 Thread jnesbitt

I'd like to link to static documents in the same web app that are named in
the database.  Currently I'm using ExternalLink but that obviously doesn't
use the application context in it's path.  This would be a nice to have for
development purposes.  

Is there a way for me to get the application context path so that I don't
have to hard code it?  Am I using the right type of link to do this?

Thanks

Jason
-- 
View this message in context: 
http://www.nabble.com/application-context-in-links-tp19204109p19204109.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: application context in links

2008-08-28 Thread Igor Vaynberg
see ContextImage for an example

-igor

On Thu, Aug 28, 2008 at 9:23 AM, jnesbitt [EMAIL PROTECTED] wrote:

 I'd like to link to static documents in the same web app that are named in
 the database.  Currently I'm using ExternalLink but that obviously doesn't
 use the application context in it's path.  This would be a nice to have for
 development purposes.

 Is there a way for me to get the application context path so that I don't
 have to hard code it?  Am I using the right type of link to do this?

 Thanks

 Jason
 --
 View this message in context: 
 http://www.nabble.com/application-context-in-links-tp19204109p19204109.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]