Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom display for WOToManyRelationship destinationDisplayKey



Hi Xavier,

One last thing, if I want to pass the languages NSArray from the the application (displayDestinationKey) to the localizedName method in the framework, how would I do that?

I can only guess that you'll want to pass in the session's languages:

<http://developer.apple.com/documentation/Webobjects/Reference/API/ com/webobjects/appserver/WOSession.html#languages()>

I'll guess your next question will be how to access the session from the method in your framework? WOnder lets you get it via <http:// www.mdimension.com/~wonder/api/er/extensions/ ERXExtensions.html#session()>. I don't know any similar API in standard WO that would let you access the session without passing the context around. Anybody?

cheers

Fabian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >custom display for WOToManyRelationship destinationDisplayKey (From: Dev WO <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Lachlan Deck <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Dev WO <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Fabian Peters <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Dev WO <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Fabian Peters <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Dev WO <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Fabian Peters <email@hidden>)
 >Re: custom display for WOToManyRelationship destinationDisplayKey (From: Dev WO <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.