|
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 |
|
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 < [hidden email]> 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 > |
|
Hans added the locale lookups.
@Hans are you ok with reverting the lookups to the original drop down list? 2012/6/19 Ankit Jain <[hidden email]>: > 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 < > [hidden email]> 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 |
|
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<[hidden email]>: >> 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< >> [hidden email]> 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 >>> > > |
|
In reply to this post by Sascha Rodekamp-3
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<[hidden email]>: >> 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< >> [hidden email]> 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 >>> > > |
|
Ok thanks Hans.
Done in Rev 1351614 Have a good day Sascha 2012/6/19 Hans Bakker <[hidden email]>: > 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<[hidden email]>: >>> >>> 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< >>> [hidden email]> 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 |
| Free forum by Nabble | Edit this page |
