Columns in select1 itemset label

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Columns in select1 itemset label

Gerrit Boers
Hi,

Does anybody know if it is possible to have two columns in a select1 itemset label? I do not need to access the information in the columns, it is purely for display purposes.

Use case:
Providing additional information to assist in making a selection.



I build a variation on the autocomplete control using a simple input control and a repeat for showing the result. I would rather use a select1 in stead of a repeat, the select1 is faster and can also be navigated using the keyboard.

In case you're wondering, this is a SNOMED CT active snapshot. The search is performed on 475000 descriptions referring to 295000 concepts. I'm developing this functionality for the Dutch institute for healthcare IT, Nictiz. It is part of a larger project for developing tools for healthcare IT. We use Orbeon and eXist-db for the development and everything will be made available under a LGPL (or similar business friendly) license.

Regards,

Gerrit

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

columns.png (12K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Columns in select1 itemset label

Erik Bruchez
Administrator
Gerrit,

The label is a plain string with the minimal (dropdown) and compact
(list) appearances, and it can be HTML with the full appearance (radio
buttons). The dropdown is handled by the browser and it cannot show
columns as far a I know.

Autocomplete widgets like the YUI one we use are typically implemented
using plain HTML/CSS constructs and a lot of JavaScript. So they are
not native. If you want two columns, you would have to integrate with
such a widget. Currently, we don't leverage this capability but
clearly the YUI autocomplete widget can do more, see:

http://developer.yahoo.com/yui/autocomplete/

-Erik

On Tue, Nov 8, 2011 at 2:44 AM, Gerrit Boers <[hidden email]> wrote:

> Hi,
>
> Does anybody know if it is possible to have two columns in a select1 itemset label? I do not need to access the information in the columns, it is purely for display purposes.
>
> Use case:
> Providing additional information to assist in making a selection.
>
>
>
> I build a variation on the autocomplete control using a simple input control and a repeat for showing the result. I would rather use a select1 in stead of a repeat, the select1 is faster and can also be navigated using the keyboard.
>
> In case you're wondering, this is a SNOMED CT active snapshot. The search is performed on 475000 descriptions referring to 295000 concepts. I'm developing this functionality for the Dutch institute for healthcare IT, Nictiz. It is part of a larger project for developing tools for healthcare IT. We use Orbeon and eXist-db for the development and everything will be made available under a LGPL (or similar business friendly) license.
>
> Regards,
>
> Gerrit
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Columns in select1 itemset label

Gerrit Boers
Erik,

Thanks for the reply.
I was afraid of that, but I didn't know for sure.

The YUI autocomplete is not really an option for this because users need to be able to select an option without changing the entered search query, if required the query can be altered an a different (refined) result will be returned.
Filling the repeat with the resultset is very fast, this is not the issue. It's the navigating and selecting that's a bit more work to implement and not as fast compared to a select1.

For the time being I will improve the current approach.

regards,

Gerrit

On Nov 9, 2011, at 5:50 AM, Erik Bruchez wrote:

> Gerrit,
>
> The label is a plain string with the minimal (dropdown) and compact
> (list) appearances, and it can be HTML with the full appearance (radio
> buttons). The dropdown is handled by the browser and it cannot show
> columns as far a I know.
>
> Autocomplete widgets like the YUI one we use are typically implemented
> using plain HTML/CSS constructs and a lot of JavaScript. So they are
> not native. If you want two columns, you would have to integrate with
> such a widget. Currently, we don't leverage this capability but
> clearly the YUI autocomplete widget can do more, see:
>
> http://developer.yahoo.com/yui/autocomplete/
>
> -Erik
>
> On Tue, Nov 8, 2011 at 2:44 AM, Gerrit Boers <[hidden email]> wrote:
>> Hi,
>>
>> Does anybody know if it is possible to have two columns in a select1 itemset label? I do not need to access the information in the columns, it is purely for display purposes.
>>
>> Use case:
>> Providing additional information to assist in making a selection.
>>
>>
>>
>> I build a variation on the autocomplete control using a simple input control and a repeat for showing the result. I would rather use a select1 in stead of a repeat, the select1 is faster and can also be navigated using the keyboard.
>>
>> In case you're wondering, this is a SNOMED CT active snapshot. The search is performed on 475000 descriptions referring to 295000 concepts. I'm developing this functionality for the Dutch institute for healthcare IT, Nictiz. It is part of a larger project for developing tools for healthcare IT. We use Orbeon and eXist-db for the development and everything will be made available under a LGPL (or similar business friendly) license.
>>
>> Regards,
>>
>> Gerrit
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws