• 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: two d2wmodels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two d2wmodels


  • Subject: Re: two d2wmodels
  • From: David Avendasora <email@hidden>
  • Date: Wed, 1 Oct 2008 13:58:48 -0400

Multiple model files are a built-in capability of WO. I'm not sure how you apply the concept to context-sensitive rule files, but the normal way of getting one rule in a d2w.d2wmodel file to override an identical rule in the user.d2wmodel file is to create the rule with a _lower_ priority value - like "50".

At least this is how it works for normal D2W and D2JC. How this fits with WOnder's D2W implementation, I don't know.

Guido?

Dave

On Oct 1, 2008, at 1:34 PM, Ash Mishra wrote:

Hi,

Has anyone tried to use two d2wmodels in the same application. i.e. the default user.d2wmodel and say mysecond.d2wmodel?

The reason I ask is that we want to return different List and Query pages for the same Entity (that is, have two different rulesets depending on context). I see in Project Wonder there is a custom ERD2WFactory, but it's unclear to me if this allows multiple model files - as it appears to also just use the application wide defaultModel.

thanks
Ash
_______________________________________________
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



_______________________________________________ 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: two d2wmodels
      • From: Guido Neitzer <email@hidden>
References: 
 >two d2wmodels (From: Ash Mishra <email@hidden>)

  • Prev by Date: Re: two d2wmodels
  • Next by Date: Re: NullPointerException
  • Previous by thread: Re: two d2wmodels
  • Next by thread: Re: two d2wmodels
  • Index(es):
    • Date
    • Thread