• 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: D2W User Presentable Description
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W User Presentable Description


  • Subject: Re: D2W User Presentable Description
  • From: David LeBer <email@hidden>
  • Date: Thu, 27 Aug 2009 09:32:23 -0400


On 27-Aug-09, at 7:59 AM, Ramsey Lee Gurley wrote:


On Aug 27, 2009, at 7:35 AM, Don Lindsay wrote:

Hello;

I am working on my first D2W application, Web Objects 5.4. I have a D2WEditToManyFault, the only option I have in Target Key is userPresentableDescription, in the assistant. How can I set the target key, without having to create class files for all my entities?

Thanks

Don

Assistant still works in 5.4? I never could get it to work. I thought I read in the 5.4.2 release notes that it was dropped. Anyway... Try this: Open your rule file with RuleModeler and create a rule similar to


100:(propertyType = 'r' and relationship.destinationEntity.name = 'MyEntity') => keyWhenRelationship = "someAttribute"[Assignment]

+1 on using RuleModeler

Just a warning though, if you edit your user.d2wmodel file with RuleModeler and then switch back to the assistant it is likely to stomp all over your edits.

Use the d2w.d2wmodel file for your custom edits, or (better yet) drop the use of the assistant altogether.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ 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
References: 
 >D2W User Presentable Description (From: Don Lindsay <email@hidden>)
 >Re: D2W User Presentable Description (From: Ramsey Lee Gurley <email@hidden>)

  • Prev by Date: Re: D2W User Presentable Description
  • Next by Date: terminate() not being called with servlet deployment
  • Previous by thread: Re: D2W User Presentable Description
  • Next by thread: terminate() not being called with servlet deployment
  • Index(es):
    • Date
    • Thread