Styling of autocomplete no longer works in 3.9

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

Styling of autocomplete no longer works in 3.9

Gerrit Boers
Hi,

The styling attribute (style="width: 15em") of the fr:autocomplete has no effect in Orbeon3.9, it used to work in the previous version. Does anybody have any suggestions? Am I missing something?

Kind 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
Reply | Threaded
Open this post in threaded view
|

Re: Styling of autocomplete no longer works in 3.9

Alessandro  Vernet
Administrator
Gerrit,

Good point: the documentation was out-of-date. The input field in the
autocomplete now has a default width, just like the regular input
field, which adds consistency and solves some styling problems we had.
You can now use a class to style a particular autocomplete. See the
"Styling" section on:

http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/autocomplete

Alex

On Sat, Jun 25, 2011 at 1:33 PM, Gerrit Boers <[hidden email]> wrote:

> Hi,
> The styling attribute (style="width: 15em") of the fr:autocomplete has no
> effect in Orbeon3.9, it used to work in the previous version. Does anybody
> have any suggestions? Am I missing something?
> Kind 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Styling of autocomplete no longer works in 3.9

Gerrit Boers
Hi Alex,

Thank you very much! The documentation and examples are perfectly clear and function as described. I use the autocomplete in combination with xquery and Lucene based search:





I have a set of 273 codesystems containing things like country codes, diagnosis codes en also a complete list of all pharmaceutical products in the Netherlands. As you can see there are more than 90,000 codes in there.
The search starts at the third keystroke. You can enter multiple terms, separated by a space. The xquery translates this into a set of Lucene wildcard terms.
It works extremely fast, in this example it just takes eight keystrokes to reduce the list from 92,159 to just 4.

I would be more than happy to contribute this approach in the form of a 'how-to' or perhaps even an example application.


Kind regards,

Gerrit



On Jun 28, 2011, at 12:56 AM, Alessandro Vernet wrote:

> Gerrit,
>
> Good point: the documentation was out-of-date. The input field in the
> autocomplete now has a default width, just like the regular input
> field, which adds consistency and solves some styling problems we had.
> You can now use a class to style a particular autocomplete. See the
> "Styling" section on:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/autocomplete
>
> Alex
>
> On Sat, Jun 25, 2011 at 1:33 PM, Gerrit Boers <[hidden email]> wrote:
>> Hi,
>> The styling attribute (style="width: 15em") of the fr:autocomplete has no
>> effect in Orbeon3.9, it used to work in the previous version. Does anybody
>> have any suggestions? Am I missing something?
>> Kind 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
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
> --
> 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

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

Re: Re: Re: Styling of autocomplete no longer works in 3.9

Alessandro  Vernet
Administrator
Hi Gerrit,

Awesome; this is exactly the type of use cases the autocomplete was
designed for. As mentioned in another email, we'll set you up so you
can edit the wiki. Thank you for the feedback and for offering to
provide a how-to on this topic.

Alex

On Tue, Jun 28, 2011 at 6:51 AM, Gerrit Boers <[hidden email]> wrote:

> Hi Alex,
>
> Thank you very much! The documentation and examples are perfectly clear and function as described. I use the autocomplete in combination with xquery and Lucene based search:
>
>
>
>
>
> I have a set of 273 codesystems containing things like country codes, diagnosis codes en also a complete list of all pharmaceutical products in the Netherlands. As you can see there are more than 90,000 codes in there.
> The search starts at the third keystroke. You can enter multiple terms, separated by a space. The xquery translates this into a set of Lucene wildcard terms.
> It works extremely fast, in this example it just takes eight keystrokes to reduce the list from 92,159 to just 4.
>
> I would be more than happy to contribute this approach in the form of a 'how-to' or perhaps even an example application.
>
>
> Kind regards,
>
> Gerrit
>
>
>
> On Jun 28, 2011, at 12:56 AM, Alessandro Vernet wrote:
>
>> Gerrit,
>>
>> Good point: the documentation was out-of-date. The input field in the
>> autocomplete now has a default width, just like the regular input
>> field, which adds consistency and solves some styling problems we had.
>> You can now use a class to style a particular autocomplete. See the
>> "Styling" section on:
>>
>> http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/autocomplete
>>
>> Alex
>>
>> On Sat, Jun 25, 2011 at 1:33 PM, Gerrit Boers <[hidden email]> wrote:
>>> Hi,
>>> The styling attribute (style="width: 15em") of the fr:autocomplete has no
>>> effect in Orbeon3.9, it used to work in the previous version. Does anybody
>>> have any suggestions? Am I missing something?
>>> Kind 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
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>> --
>> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet