Re: LocalizedMap.java - Do we really need it?

2008-12-14 Thread David E Jones
On Dec 13, 2008, at 8:46 AM, Adrian Crum wrote: --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev@ofbiz.apache.org Date: Friday, December 12, 2008, 7:50 PM

Re: LocalizedMap.java - Do we really need it?

2008-12-14 Thread Adrian Crum
--- On Sun, 12/14/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev@ofbiz.apache.org Date: Sunday, December 14, 2008, 2:09 AM On Dec 13, 2008, at 8:46 AM, Adrian Crum wrote

Re: LocalizedMap.java - Do we really need it?

2008-12-13 Thread Adrian Crum
--- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev@ofbiz.apache.org Date: Friday, December 12, 2008, 7:50 PM On Dec 12, 2008, at 5:42 PM, Adrian Crum wrote

LocalizedMap.java - Do we really need it?

2008-12-12 Thread Adrian Crum
I'm having a problem integrating the Unified Expression Language with the FlexibleMapAccessor class - due to that class supporting the LocalizedMap interface. The LocalizedMap interface is implemented in the MapStack class and it is used in only one place - GenericEntity. Here's the thing - I

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread Adrian Crum
Just for fun, I eliminated the LocalizedMap interface on my local copy and everything still works. The only potential area affected would be the localized entity data - and that works fine. -Adrian Adrian Crum wrote: I'm having a problem integrating the Unified Expression Language with the

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread David E Jones
How do you plan to support the Entity Engine (through GenericEntity) feature of implicitly localized fields (currently used for StatusItem, Enumeration, various others)? What FlexibleMapAccessor is doing with LocalizedMap is seeing if the Map passed to it implements the interface, and if

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread Adrian Crum
I tested GenericEntity and it still localized fields just fine. I will continue to look into it though. Thanks for the reply! -Adrian --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread David E Jones
localized fields just fine. I will continue to look into it though. Thanks for the reply! -Adrian --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread Adrian Crum
david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev@ofbiz.apache.org Date: Friday, December 12, 2008, 2:53 PM What do you mean by still localized fields just fine? Do you mean that somehow it managed to localize the field _without_ the Locale being

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread Adrian Crum
to implement entity engine localization would be through presentation layer decorators for the entity engine classes. -Adrian --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread David E Jones
a utility class to hide the complexity of the underlying data model, which among other things supports localization? -David --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really