[Geoserver-devel] [jira] (GEOS-5380) Documentation about templates lookup misleading

Andrea Aime created BugGEOS-5380
Documentation about templates lookup misleading

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Documentation

Created:

29/Oct/12 5:21 AM

Description:

The doc at http://docs.geoserver.org/latest/en/user/tutorials/freemarker.html#template-lookup suggests a lookup algorithm that does not match the reality.

The real algorithm is suggested in a comment in GeoServerTemplateLoader:

//template look up order
// 1. Relative to resource
// 2. Relative to store of the resource
// 3. Relative to workspace of resource
// 4. Relative to templates directory
// 5. Relative to the class

Lookup number 5 can be documented as “using the built-in defaults”

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)