Your business reason is clear but that doesnt really change my suggestion :)

Create a link, assign a event to it, display a test when the link is
selected. The test displayed should be the data that you pull form the db

Cheers


On Fri, Sep 6, 2013 at 10:24 PM, Jan Fryblik <jan.fryb...@ebrothers.cz>wrote:

> **
> I understand how it works. May be my explanation was a bit vague. So...
>
> I want to have text field with predefined options and also possibility to
> insert custom text. So i looked for like "editable select", but then i
> create plain textfield with autocomplete. It works fine as i want, but i
> would like to give users option to show all predefined values without
> typing anything. For me is better if they choose predefined value instead
> of creating new one, but i can't cover all possible cases.
>
> I hope now is clear. Thanks for help.
>
>
> On Fri, 06 Sep 2013 21:35:32 +0200, Boris Horvat <horvat.z.bo...@gmail.com>
> wrote:
>
> It is not related to the autocomplete. Autocomplete triggers an event on
> the server side it is up to you to figure out what to return.
> Usually this should query some db table and return data that matches that.
>
> Example
>
> You have a filed that would help users to type in a country. When they
> start to type "Ser" you will give them a list of countries that matches the
> db table.
>
> If you want to show them all just do a db query that will return the
> entire content of the db table and then show it in screen
>
> Hope it helps
>
>
> On Fri, Sep 6, 2013 at 9:19 PM, Jan Fryblik <jan.fryb...@ebrothers.cz>wrote:
>
>>
>>
>> That's what i'm trying to do, but i don't know how to force autocomplete
>> to show all options. Or have i missed something?
>>
>>
>> On Fri, 06 Sep 2013 21:12:58 +0200, Boris Horvat <
>> horvat.z.bo...@gmail.com> wrote:
>>
>>  So why not create a button that will populate a list of the available
>>> options?
>>>
>>>
>>> On Fri, Sep 6, 2013 at 9:04 PM, Jan Fryblik <jan.fryb...@ebrothers.cz
>>> >wrote:
>>>
>>>  **
>>>> Hi guys,
>>>>
>>>> I'm using Tapestry-JQuery AutoComplete component and i would like to
>>>> have
>>>> small button to show all options next to text field. Does somebody know
>>>> how
>>>> to open autocomplete list? I've tried a few solutions suggested in other
>>>> discussions, but none of them worked. Thank you in advance.
>>>>
>>>>
>>>> Best Regards,
>>>> Jan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> S pozdravem
>>
>>
>>
>> Mgr. Jan Fryblík
>> jednatel
>> +420 739 094 784
>> jan.fryb...@ebrothers.cz
>>
>> eBrothers Software s.r.o. | www.ebrothers.cz
>>
>
>
>
> --
> Sincerely
> *Boris Horvat*
>
>
>
>
> --
> S pozdravem
>
>
> *
> *
> *Mgr. Jan Fryblík*
> jednatel
> +420 739 094 784
> jan.fryb...@ebrothers.cz
>
> *eBrothers Software s.r.o. | www.ebrothers.cz*
>



-- 
Sincerely
*Boris Horvat*

Reply via email to