struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4260) themes.properties cannot be loaded using ServletContext
Date Tue, 17 Dec 2013 07:58:08 GMT

     [ https://issues.apache.org/jira/browse/WW-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart resolved WW-4260.
-------------------------------

    Resolution: Fixed

Extended {{BaseTemplateEngine}} to use also {{ServletContext}} to load {{themes.properties}}
- right now template folder can be placed under {{webapp}} folder as well!

> themes.properties cannot be loaded using ServletContext
> -------------------------------------------------------
>
>                 Key: WW-4260
>                 URL: https://issues.apache.org/jira/browse/WW-4260
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Integration
>    Affects Versions: 2.3.16
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.17
>
>
> Right now when defining a new theme and overriding just separated files, all the files
and themes.properties must lay under classpath (e.g. in {{src/main/resources}} when using
Maven).
> This all is because {{TemplateEngine}} doesn't use {{ServletContext}} to resolve path
to {{themes.properties}}.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message