Re: two d2wmodels
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