Details
-
Improvement
-
Status: Closed
-
High
-
Resolution: Fixed
-
2.2.0
-
None
-
0.5
-
Tiger Sprint 131
Description
Freemarker templates for Essentials features in webfiles use Essentials classes, for example org.onehippo.cms7.essentials.components.paging.Pageable in the site/freemarker/hstdefault/newslist-main-newslist.ftl.
These classes are not a dependency of the webfiles maven module, so content assist for these objects is not available. Also the @ftlvariable at the top of the template results in an error for that template when using Intellij (see screenshot).
The problem can be solved by adding this dependency to the webfiles pom:
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-components-hst</artifactId>
<scope>provided</scope>
</dependency>
I don't think it should be part of the archetype, but better be added by Essentials when needed.
Attachments
Issue Links
- relates to
-
ARCHE-446 Freemarker templates in web files should support auto-completion of tags
- Closed