Hi

I have an application where each object can have some files associated with it that I need to pull from various sources. I have:

 /mount/id/xxxx/thumb.jpg
 /mount/id/xxxx/meta.xml
 /mount/id/xxxx/layer.lyr
 ...

I followed the 'staticpages' example and am implementing a UrlCodingStrategy that returns the content within:
 IRequestTarget decode(RequestParameters requestParameters);

This all works fine. I'm linking to the content with the same method as the example:
 add(new StaticLink("hellostream", new Model("docs/hello.html")));

This works fine *unless* the current page is not in the root context. Is there a standard way to link to a custom resource regardless of the URL structure?

Thanks for any pointers!

ryan

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

Reply via email to