[PJUG Javamail] Most Commonly Selected Item
Joe Hoffman
joe at intelopment.com
Tue Jul 21 13:54:22 EDT 2009
I'd suggest keeping it simple: Keep track of usage data and update
the static list a few times after a sufficiently large sample set is
collected.
Over time, i doubt the order will change much and so what if a few
items are slightly out of order.
Keep it simple.
On Jul 21, 2009, at 9:58 AM, Dan Colish wrote:
> This sounds like a straightfoward frequency list to me.
>
> On Tue, Jul 21, 2009 at 09:52:40AM -0700, Siraj Podikunju wrote:
>> Hmm, I cannot think of any other way to do this without adding a
>> "popularity" attribute to a table containing the list items. The
>> table
>> would have to get updated everytime an item is selected. Populating
>> the
>> list would require ordering by this attribute.
>>
>> Siraj.
>>
>> Richard Johnson wrote:
>>> Hi all,
>>>
>>> Anyone have any straightforward ways to set up a selection list
>>> (both
>>> single-select and multi-select drop downs) so that the most commonly
>>> selected items float to the top and the rest of the items are sorted
>>> by popularity?
>>>
>>>
>>> --
>>>
>>> Richard Johnson, Systems Architect
>>>
>>> Lingo Systems
>>>
>>> 15115 SW Sequoia Pkwy #200
>>>
>>> Portland Oregon 97224
>>>
>>>
>>>
>>> richardj at lingosys.com <mailto:richardj at lingosys.com>
>>>
>>> http://www.lingosys.com <http://www.lingosys.com/>
>>>
>>> voice 503-419-4889 or 800-878-8523
>>>
>>> FAX 503-419-4873
>>>
>>>
>>>
>>
>> --
>> Siraj Podikunju
>> SP Consulting, Inc.
>> Tel: 360-600-6608
>> Fax: 360-260-3448
>> E-Mail: sirajp at spconsult.com
>>
>> _______________________________________________
>> Web Site - http://www.pjug.org/
>> Javamail mailing list
>> Javamail at pjug.org
>> http://www.pjug.org/mailman/listinfo/javamail
>
> --
> --Dan
>
> -----------------------------------------------------------
> "Computers are useless. They can only give you answers"
> ~ Pablo Picasso
>
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
More information about the Javamail
mailing list