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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to