Closed ahonor closed 12 years ago
The image directory can be set in the config.properties file and referenced via path = servletContext.getRealPath().
I believe if we set this as a variable like 'image.directory=some/dir/structure', we could then access it as follows:
path = servletContext.getRealPath(grailsSettings.config.image.directory)
And all you would have to do is build the context to reference this in the context and route for it as follows:
<Context path="/resource/mresource" docBase="/var/geezo/mresource/" allowlinking="true"></Context>
This sounds good.
Lets keep this open as this is an important configuration that needs to be documented if changed
Each NodeType should have a property that specifies a URL to a graphical icon. We should standardize on sizes and default images for basic examples, too.