• 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
custom display for WOToManyRelationship destinationDisplayKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom display for WOToManyRelationship destinationDisplayKey


  • Subject: custom display for WOToManyRelationship destinationDisplayKey
  • From: Dev WO <email@hidden>
  • Date: Mon, 28 Aug 2006 18:02:18 +0200

Hello all,
I've been searching this week end on how to customize the display of a WOToManyRelationship destinationDisplayKey.
Here's what I have:
-a framework with my objects classes
-an application with a WOToManyRelationship


I'd like to change the value of the display string, but I just can't find how to. Precisely I'd like to get the value from a .strings file using WOResourceManager.

My issue is that I cannot use a custom method in the framework as it appears WOResourceManager doesn't work, at least I couldn't make it work (I used WOApplication.application().resourceManager(), but I got null value, and I didn't take the time to see how it would work with a language parameter, but it's not the point here;)).
So I tried adding a method to my application component class, but it looks like WOToManyRelationship doesn't even call my method!
And I would have to pass the destination objet to this method to be able to extract the requested key(s) and create the display string...


Does anyone understand me (I'm not feeling that much understandable right now)?
Do you know how I could achieve this?


By the way, is there any way to customize the sort ordering of a WOToMany?

Thanks for your help

Xavier
_______________________________________________
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: Lachlan Deck <email@hidden>
  • Prev by Date: Re: WO in Java or Objective-C (Was Re: Is WebObjects 4.5 going open source?)
  • Next by Date: WO Mailing list manager?
  • Previous by thread: Re: [SPAM] Database read problems
  • Next by thread: Re: custom display for WOToManyRelationship destinationDisplayKey
  • Index(es):
    • Date
    • Thread