You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Sascha Rodekamp <sa...@googlemail.com> on 2012/06/19 08:27:54 UTC
locale lookups
Hi,
as discussed in https://issues.apache.org/jira/browse/OFBIZ-4741 it
turns out, that the locale lookups (i.e. used in
https://demo-trunk.ofbiz.apache.org/content/control/findContent) have
no working filter functionality because the lookup find calls each
time UtilMisc.availableLocales() without filtering.
One solution could be to
- revert the changes to the old drop down list
an alternative is
- create a database table for locales that the Search Services could
be used, that's of course a bigger change
What do you think?
Best regards,
Sascha
--
Sascha Rodekamp
Visit the new german OFBiz Blog: http://www.ofbiz.biz
Lynx-Consulting GmbH
Johanniskirchplatz 6
D-33615 Bielefeld
http://www.lynx.de
Re: locale lookups
Posted by Sascha Rodekamp <sa...@googlemail.com>.
Ok thanks Hans.
Done in Rev 1351614
Have a good day
Sascha
2012/6/19 Hans Bakker <ma...@antwebsystems.com>:
> On 06/19/2012 02:45 PM, Sascha Rodekamp wrote:
>>
>> Hans added the locale lookups.
>> @Hans are you ok with reverting the lookups to the original drop down
>> list?
>
> sure, if that work better......
>
>>
>> 2012/6/19 Ankit Jain<an...@gmail.com>:
>>>
>>> Locale Lookup is used in few places only, so I think reverting it to
>>> dropdown is good instead of creating new entity.
>>>
>>>
>>> Regards,
>>> Ankit Jain
>>>
>>>
>>>
>>>
>>> On Tue, Jun 19, 2012 at 11:57 AM, Sascha Rodekamp<
>>> sascha.rodekamp.lynx.de@googlemail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> as discussed in https://issues.apache.org/jira/browse/OFBIZ-4741 it
>>>> turns out, that the locale lookups (i.e. used in
>>>> https://demo-trunk.ofbiz.apache.org/content/control/findContent) have
>>>> no working filter functionality because the lookup find calls each
>>>> time UtilMisc.availableLocales() without filtering.
>>>>
>>>> One solution could be to
>>>> - revert the changes to the old drop down list
>>>>
>>>> an alternative is
>>>> - create a database table for locales that the Search Services could
>>>> be used, that's of course a bigger change
>>>>
>>>> What do you think?
>>>>
>>>> Best regards,
>>>> Sascha
>>>>
>>>> --
>>>>
>>>> Sascha Rodekamp
>>>> Visit the new german OFBiz Blog: http://www.ofbiz.biz
>>>> Lynx-Consulting GmbH
>>>> Johanniskirchplatz 6
>>>> D-33615 Bielefeld
>>>> http://www.lynx.de
>>>>
>>
>>
>
--
Sascha Rodekamp
Visit the new german OFBiz Blog: http://www.ofbiz.biz
Lynx-Consulting GmbH
Johanniskirchplatz 6
D-33615 Bielefeld
http://www.lynx.de
Re: locale lookups
Posted by Hans Bakker <ma...@antwebsystems.com>.
On 06/19/2012 02:45 PM, Sascha Rodekamp wrote:
> Hans added the locale lookups.
> @Hans are you ok with reverting the lookups to the original drop down list?
sure, if that work better......
>
> 2012/6/19 Ankit Jain<an...@gmail.com>:
>> Locale Lookup is used in few places only, so I think reverting it to
>> dropdown is good instead of creating new entity.
>>
>>
>> Regards,
>> Ankit Jain
>>
>>
>>
>>
>> On Tue, Jun 19, 2012 at 11:57 AM, Sascha Rodekamp<
>> sascha.rodekamp.lynx.de@googlemail.com> wrote:
>>
>>> Hi,
>>>
>>> as discussed in https://issues.apache.org/jira/browse/OFBIZ-4741 it
>>> turns out, that the locale lookups (i.e. used in
>>> https://demo-trunk.ofbiz.apache.org/content/control/findContent) have
>>> no working filter functionality because the lookup find calls each
>>> time UtilMisc.availableLocales() without filtering.
>>>
>>> One solution could be to
>>> - revert the changes to the old drop down list
>>>
>>> an alternative is
>>> - create a database table for locales that the Search Services could
>>> be used, that's of course a bigger change
>>>
>>> What do you think?
>>>
>>> Best regards,
>>> Sascha
>>>
>>> --
>>>
>>> Sascha Rodekamp
>>> Visit the new german OFBiz Blog: http://www.ofbiz.biz
>>> Lynx-Consulting GmbH
>>> Johanniskirchplatz 6
>>> D-33615 Bielefeld
>>> http://www.lynx.de
>>>
>
>
Re: locale lookups
Posted by Hans Bakker <ma...@antwebsystems.com>.
Aren't the available locales defined in general.properties?
can you give me a revision where that happened?
Regards,
Hans
On 06/19/2012 02:45 PM, Sascha Rodekamp wrote:
> Hans added the locale lookups.
> @Hans are you ok with reverting the lookups to the original drop down list?
>
>
> 2012/6/19 Ankit Jain<an...@gmail.com>:
>> Locale Lookup is used in few places only, so I think reverting it to
>> dropdown is good instead of creating new entity.
>>
>>
>> Regards,
>> Ankit Jain
>>
>>
>>
>>
>> On Tue, Jun 19, 2012 at 11:57 AM, Sascha Rodekamp<
>> sascha.rodekamp.lynx.de@googlemail.com> wrote:
>>
>>> Hi,
>>>
>>> as discussed in https://issues.apache.org/jira/browse/OFBIZ-4741 it
>>> turns out, that the locale lookups (i.e. used in
>>> https://demo-trunk.ofbiz.apache.org/content/control/findContent) have
>>> no working filter functionality because the lookup find calls each
>>> time UtilMisc.availableLocales() without filtering.
>>>
>>> One solution could be to
>>> - revert the changes to the old drop down list
>>>
>>> an alternative is
>>> - create a database table for locales that the Search Services could
>>> be used, that's of course a bigger change
>>>
>>> What do you think?
>>>
>>> Best regards,
>>> Sascha
>>>
>>> --
>>>
>>> Sascha Rodekamp
>>> Visit the new german OFBiz Blog: http://www.ofbiz.biz
>>> Lynx-Consulting GmbH
>>> Johanniskirchplatz 6
>>> D-33615 Bielefeld
>>> http://www.lynx.de
>>>
>
>
Re: locale lookups
Posted by Sascha Rodekamp <sa...@googlemail.com>.
Hans added the locale lookups.
@Hans are you ok with reverting the lookups to the original drop down list?
2012/6/19 Ankit Jain <an...@gmail.com>:
> Locale Lookup is used in few places only, so I think reverting it to
> dropdown is good instead of creating new entity.
>
>
> Regards,
> Ankit Jain
>
>
>
>
> On Tue, Jun 19, 2012 at 11:57 AM, Sascha Rodekamp <
> sascha.rodekamp.lynx.de@googlemail.com> wrote:
>
>> Hi,
>>
>> as discussed in https://issues.apache.org/jira/browse/OFBIZ-4741 it
>> turns out, that the locale lookups (i.e. used in
>> https://demo-trunk.ofbiz.apache.org/content/control/findContent) have
>> no working filter functionality because the lookup find calls each
>> time UtilMisc.availableLocales() without filtering.
>>
>> One solution could be to
>> - revert the changes to the old drop down list
>>
>> an alternative is
>> - create a database table for locales that the Search Services could
>> be used, that's of course a bigger change
>>
>> What do you think?
>>
>> Best regards,
>> Sascha
>>
>> --
>>
>> Sascha Rodekamp
>> Visit the new german OFBiz Blog: http://www.ofbiz.biz
>> Lynx-Consulting GmbH
>> Johanniskirchplatz 6
>> D-33615 Bielefeld
>> http://www.lynx.de
>>
--
Sascha Rodekamp
Visit the new german OFBiz Blog: http://www.ofbiz.biz
Lynx-Consulting GmbH
Johanniskirchplatz 6
D-33615 Bielefeld
http://www.lynx.de
Re: locale lookups
Posted by Ankit Jain <an...@gmail.com>.
Locale Lookup is used in few places only, so I think reverting it to
dropdown is good instead of creating new entity.
Regards,
Ankit Jain
On Tue, Jun 19, 2012 at 11:57 AM, Sascha Rodekamp <
sascha.rodekamp.lynx.de@googlemail.com> wrote:
> Hi,
>
> as discussed in https://issues.apache.org/jira/browse/OFBIZ-4741 it
> turns out, that the locale lookups (i.e. used in
> https://demo-trunk.ofbiz.apache.org/content/control/findContent) have
> no working filter functionality because the lookup find calls each
> time UtilMisc.availableLocales() without filtering.
>
> One solution could be to
> - revert the changes to the old drop down list
>
> an alternative is
> - create a database table for locales that the Search Services could
> be used, that's of course a bigger change
>
> What do you think?
>
> Best regards,
> Sascha
>
> --
>
> Sascha Rodekamp
> Visit the new german OFBiz Blog: http://www.ofbiz.biz
> Lynx-Consulting GmbH
> Johanniskirchplatz 6
> D-33615 Bielefeld
> http://www.lynx.de
>