Merging master into working branch.
This commit is contained in:
commit
8b5888723a
|
@ -61,7 +61,6 @@ To use your own templates for narrative generation, simply create one or more te
|
||||||
Then create a properties file which describes your templates. In this properties file, each resource to be defined has a pair or properties.
|
Then create a properties file which describes your templates. In this properties file, each resource to be defined has a pair or properties.
|
||||||
|
|
||||||
The first (name.class) defines the class name of the resource to define a template for. The second (name.narrative) defines the path/classpath to the template file. The format of this path is `file:/path/foo.html` or `classpath:/com/classpath/foo.html`.
|
The first (name.class) defines the class name of the resource to define a template for. The second (name.narrative) defines the path/classpath to the template file. The format of this path is `file:/path/foo.html` or `classpath:/com/classpath/foo.html`.
|
||||||
</p>
|
|
||||||
|
|
||||||
```properties
|
```properties
|
||||||
# Two property lines in the file per template
|
# Two property lines in the file per template
|
||||||
|
|
|
@ -90,5 +90,7 @@ In your web.xml file (within the WEB-INF directory in your WAR file), the follow
|
||||||
<filter-mapping>
|
<filter-mapping>
|
||||||
<filter-name>CORS Filter</filter-name>
|
<filter-name>CORS Filter</filter-name>
|
||||||
<url-pattern>/*</url-pattern>
|
<url-pattern>/*</url-pattern>
|
||||||
</filter-mapping>]]></source>
|
</filter-mapping>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue