Is relative addressing possible with a hyperlink component?

View: New views
2 Messages — Rating Filter:   Alert me  

Is relative addressing possible with a hyperlink component?

by fieyr2002 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been trying to figure it out with /../../ bla bla but not having much luck.

I'm trying to link a hyperlink component to a picture stored in my project files by setting the url property. Currently it's set to http://localhost:8080/Uploading4/faces/upload/images/500k.gif but I'd like to say something along the lines of /upload/images/500k.gif but I can't get it to work.

Any ideas?

Re: Is relative addressing possible with a hyperlink component?

by fieyr2002 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just figured it out! Apparently you have to say /faces/upload/images/picture.gif. Nevermind :P
fieyr2002 wrote:
I've been trying to figure it out with /../../ bla bla but not having much luck.

I'm trying to link a hyperlink component to a picture stored in my project files by setting the url property. Currently it's set to http://localhost:8080/Uploading4/faces/upload/images/500k.gif but I'd like to say something along the lines of /upload/images/500k.gif but I can't get it to work.

Any ideas?