Javier,
add a displayKey="theKeyThatYouWantToBeDsisplayed" binding to your
WOSortOrder..
-P
Javier Pena said:
>Hello,
>
>In WO 4.0 the WOSortOrder component now has the method helpString
>bind to the alt binding of the WOActiveImage instead of just the word
>"Order" like in WO 3.51. For some reason this method returns the
>string "Push to toggle sorting order according to *nil*". I don't
>mind the long string, I just don't like the word *nil* in it. I know
>I can steal the .wos code in 3.51 (in 4.0 I think it is now compiled
>because there is no .wos anymore inside the .wo) and change the code
>to whatever I want, but before taking that route I wonder if I'm
>doing something wrong.
>
>This is how I define the WOSortOrder in my .wod
>
>SortButton: WOSortOrder {
> key = keyForCurrentObject;
> displayGroup = displayGroup;
>}
>
>keyForCurrentObject is a method. When I click the button the
>sorting works perfectly which means that this method is returning the
>right key and not nil.
>
>Any ideas?
>
>Thanks in advance
>
>-javier
>
----------------------------------------------------------------------
Patrice Gautier (408) 974-0285
WebObjects Tools, Manager
Apple Internet & Enterprise Software mailto:[EMAIL PROTECTED]
Apple Computer, Inc.