Bug 43909 - EL EvaluationContext wrapper hides locale
Summary: EL EvaluationContext wrapper hides locale
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 6.0.14
Hardware: Other other
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 23:06 UTC by Tuomas Kiviaho
Modified: 2007-12-28 13:19 UTC (History)
0 users



Attachments
proper locale wrapping (738 bytes, patch)
2007-11-19 23:26 UTC, Tuomas Kiviaho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tuomas Kiviaho 2007-11-19 23:06:25 UTC
org.apache.el.lang.EvaluationContext doesn't pass locale to the wrapped
ELContext as does org.apache.jasper.el.ELContextWrapper. This prohibits using of
the locale for it's original purpose.
Comment 1 Tuomas Kiviaho 2007-11-19 23:26:16 UTC
Created attachment 21157 [details]
proper locale wrapping

Here's a small patch to fix the problem but it would be more appropriate to
extract pure wrapper pattern implementation as it's own class.
Comment 2 Mark Thomas 2007-12-28 13:19:30 UTC
This has been fixed in svn and will be included in 6.0.16 onwards.