[
https://issues.apache.org/jira/browse/TOMAHAWK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754051#action_12754051
]
Alejandro Marulanda commented on TOMAHAWK-74:
---------------------------------------------
Tiles only works with the 2.0.5 version, I tried with 2.1.3 and 2.2.0 version
and it didn't work. Error is: "Error reading tiles definitions : null Caused
by: java.lang.NullPointerException - Error reading tiles definitions : null"
> JspTilesViewHandlerImpl does not load localized tiles definitions
> -----------------------------------------------------------------
>
> Key: TOMAHAWK-74
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-74
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Tiles
> Environment: Sun SDK 1.5, Tomcat, Linux
> Reporter: Beat Seeliger
> Priority: Minor
>
> The tiles definitions that are loaded by JspTilesViewHandlerImpl are not the
> localized definitions corresponding with
> facesContext.getViewRoot().getLocale()
> e.g. if the mentioned method returns de_CH, the tiles definition
> tiles_de_CH.xml should be considered
> Workaround: Setting the struts locale solves the problem
> facesContext.getExternalContext().getSessionMap().put(Globals.LOCALE_KEY, new
> Locale("de","CH");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.