That is what the displaygroup editor generated.  I just copied the text for 
sharing.  That's why I don't know if it's a bug (which I'm assuming) or if I 
missing something that I did very wrong.

-Mike

On Sep 3, 2010, at 5:04 PM, Q wrote:

> 
> Woo files generally aren't meant to be edited by hand, or even looked at for 
> that matter. You should either use the displaygroup editor built into wolips, 
> which should "just work", or build your displaygroup in code.
> 
> On 04/09/2010, at 1:32 AM, Michael Gargano wrote:
> 
>> Hey Johann,
>> 
>>      I was just playing with the WOO file having never used it before, so 
>> this is what I have...
>> 
>> {
>>   "WebObjects Release" = "WebObjects 5.0"; 
>>   encoding = "UTF-8"; 
>>   variables = {
>>       displayGroup1 = {
>>           class = WODisplayGroup; 
>>           dataSource = {
>>               class = EODatabaseDataSource; 
>>               editingContext = "session.defaultEditingContext"; 
>>               fetchSpecification = {
>>                   class = EOFetchSpecification; 
>>                   entityName = Student; 
>>                   isDeep = YES; 
>>                   prefetchingRelationshipKeyPaths = (); 
>>               }; 
>>           }; 
>>           fetchesOnLoad = YES; 
>>           formatForLikeQualifier = "*...@*"; 
>>           numberOfObjectsPerBatch = 7; 
>>           selectsFirstObjectAfterFetch = NO; 
>>           sortOrdering = (
>>               {
>>                   class = EOSortOrdering; 
>>                   key = firstName; 
>>                   selectorName = "compareAscending:"; 
>>               }
>>           ); 
>>       }; 
>>   }; 
>> }
>> 
>> I'm just fetching all of the Student entities and want to sort them by their 
>> first name.  The selector name for the sortOrdering makes no sense as it's 
>> obviously a hold over from the cocoa days.  I know there's still NSSelector 
>> in the core frameworks, but since no such method exists on String this won't 
>> work.  All the data comes back, it's just not sorted.
>> 
>> Thanks.
>> -Mike
>> 
>> On Sep 3, 2010, at 3:23 AM, Johann Werner wrote:
>> 
>>> Hi Mike,
>>> 
>>> what are you doing with your .woo file? I never use them and they default 
>>> to just:
>>> 
>>> {
>>>     "WebObjects Release" = "WebObjects 5.0";
>>>     encoding = "UTF-8";
>>> }
>>> 
>>> If you want someone to help you, you should detail what exactly you want to 
>>> achieve and what version of WO/WOLips/Eclipse you are using.
>>> 
>>> jw
>>> 
>>> 
>>> Am 30.08.2010 um 19:14 schrieb Michael Gargano:
>>> 
>>>> Hi,
>>>> 
>>>>  When I create a WOO file, it places compareAscending: as the selector for 
>>>> sorting on my key.  This does nothing as no such function exists on 
>>>> String.  Does this functionality just not work with the WOLips WOO editor 
>>>> or is this some kind of bug?
>>>> 
>>>> Thanks,
>>>> Mike
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to