maybe going the other way around - allowMultipleSelection or
allowMultipleItems or something similar?

On Fri, Nov 12, 2010 at 16:22, Guilherme Aiolfi <[email protected]> wrote:

> I'm not very happy with the name of the property "selectOnce". Do you have
> any suggestion?
>
> Maybe uniqueSelection, I don't know.
>
> On Fri, Nov 12, 2010 at 1:07 PM, Omri <[email protected]> wrote:
>
>> Thanks,
>>
>> That sounds good
>>
>>
>> On Fri, Nov 12, 2010 at 14:34, Guilherme Aiolfi <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> I implemented what Omri suggested. Set selectOnce to prevent the use from
>>> selecting the same item twice.
>>>
>>> Included the addToken method (it respects the selectOnce property). So if
>>> you don't want it to be in the list when including, just set the selectOnce
>>> to true.
>>>
>>> Give it a try.
>>>
>>> PS: I fixed a bug that was given wrong selections from getModelSelection
>>> and getSelection.
>>>
>>> On Fri, Nov 12, 2010 at 9:49 AM, Guilherme Aiolfi <[email protected]>wrote:
>>>
>>>> Sounds good to me.
>>>>
>>>>
>>>> On Fri, Nov 12, 2010 at 9:19 AM, panyasan <[email protected]> wrote:
>>>>
>>>>>
>>>>>
>>>>> Krycek wrote:
>>>>> >
>>>>> > Ops. Should be in included in the list before the if.
>>>>> >
>>>>>
>>>>> Maybe the behavior should be as follows:
>>>>>
>>>>> - if selected = true, add to the visible tokens, but NOT to the list
>>>>> (since
>>>>> we don't want to add the same token twice)
>>>>> - if selected = false, add ONLY to the list
>>>>>
>>>>> what do you think?
>>>>>
>>>>> C.
>>>>> --
>>>>> View this message in context:
>>>>> http://qooxdoo.678.n2.nabble.com/Prepopulating-a-TokenField-widget-tp5724596p5731975.html
>>>>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>>>>> Simplifying enterprise desktop deployment and management using
>>>>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>>>>> client virtualization framework. Read more!
>>>>> http://p.sf.net/sfu/dell-eql-dev2dev
>>>>> _______________________________________________
>>>>> qooxdoo-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>>> Simplifying enterprise desktop deployment and management using
>>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>>> client virtualization framework. Read more!
>>> http://p.sf.net/sfu/dell-eql-dev2dev
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>> Simplifying enterprise desktop deployment and management using
>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>> client virtualization framework. Read more!
>> http://p.sf.net/sfu/dell-eql-dev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to