• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: custom display for WOToManyRelationship destinationDisplayKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom display for WOToManyRelationship destinationDisplayKey


  • Subject: Re: custom display for WOToManyRelationship destinationDisplayKey
  • From: Dev WO <email@hidden>
  • Date: Wed, 30 Aug 2006 13:43:36 +0200

Hi Fabian
So I tried WOApplication.application().resourceManager ().stringForKey(anAttributeOfTheEntity, "NameOfTheStringFile", null, null, null)

If you refer to a "Localizable.strings" file in a framework named "Backend", it should read:


String result = WOApplication.application().resourceManager ().stringForKey(anAttributeOfTheEntity, "Localizable", anAttributeOfTheEntity, "Backend", null);

Yes, and if aLanguagesList is null, it will pick up the available key anyway. So this is correct and work as expected in my application, but when I try to use it in a framework, it seems like it doesn't get any value:(

Are you passing in the framework name, i.e. "Backend" in the example above?
in fact I'm trying to have this line directly in the framework.
In this case I got null value (not an exception, just null string.

If I'm putting the method in my application instead, I just don't know what to provide for "anAttributeOfTheEntity":(

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:
40anazys.com


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: custom display for WOToManyRelationship destinationDisplayKey
      • From: Fabian Peters <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>)

  • Prev by Date: Re: custom display for WOToManyRelationship destinationDisplayKey
  • Next by Date: Problem with NSTimestamp
  • Previous by thread: Re: custom display for WOToManyRelationship destinationDisplayKey
  • Next by thread: Re: custom display for WOToManyRelationship destinationDisplayKey
  • Index(es):
    • Date
    • Thread