As I mentioned briefly earlier, the home index.wm I have committed into
src/templates/screens references the Turbine logo. At present the URL is
hardcoded as /turbine/images/logo.gif. This works using Tomcat, with the
context called 'turbine' and the GIF stored in the images subdir of the
webapp directory. Other than that it pretty much doesn't :-(

Does anyone have any strong views about how this should be handled ?

My feeling is that there should be a dynamic way to generate URLs that
reference static content within the context, but at present (I think)
there is no straightforward way to do this.

Howabout my suggestion of adding a method to DynamicURI called
setStaticContent. That way the template could say:

<img src="$link.setStaticContent("/images/logo.gif")">

-- 
Sean Legassick
[EMAIL PROTECTED]
                                  homo sum: humani nihil a me alienum puto



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to