Re: NSDictionary and WOPopup Question
Re: NSDictionary and WOPopup Question
- Subject: Re: NSDictionary and WOPopup Question
- From: Chuck Hill <email@hidden>
- Date: Wed, 27 Oct 2004 11:28:21 -0700
Yes, now I understand. Coffee is an amazing substance, isn't it? :-P
See page 209 of Practical WebObjects for PWOPopUp. Yeah, I'm starting to
sound like a broken record, but I did write it to give people answers to
questions like this at their fingertips. PWOPopUp does what you want and
IMHO in a good way. You can get the source from the book from
http://www.apress.com/book/bookDisplay.html?bID=248
Chuck
At 12:51 PM 27/10/2004 -0500, James Cicenia wrote:
>OK - lol -
>
>Say I have a dictionary of Integers with a string key for display.
>I bind allKeys to the list. However how will I get the string when
>the object gives a Integer back? Well I thought then let me
>create a reverse dictionary with strings as the values and the
>Integers as the key. Then in my selection methods I can one
>dictionary to get the string and the other to set back the Integer.
>
>Does any of this make sense?
>
>- James
>
>
>
>On Oct 27, 2004, at 12:13 PM, Chuck Hill wrote:
>
>> I, for one, can't understand what you mean. Can you say that again?
>> :-)
>>
>> Chuck
>>
>> On Oct 27, 2004, at 7:18 AM, James Cicenia wrote:
>>
>>> Hello -
>>>
>>> I want to do a repeating list with a popup. I thought that
>>> NSDictionary would be good, especially now that I look to use KVC for
>>> everything. Anyway, my first popup with NSDictionary had me making
>>> two NSDictionaries with the key/values just reversed. This way I can
>>> get and set the popup using the two dictionaries in reverse.
>>>
>>> Is this the way you pros do it?
>>>
>>> - James Cicenia
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> village.net
>>>
>>> This email sent to email@hidden
>>>
>> --
>> Practical WebObjects - a book for intermediate WebObjects developers
>> who want to increase their overall knowledge of WebObjects, or those
>> who are trying to solve specific application development problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden