Sorry, my last sentence should read:

Personally I try to avoid relying on specificity and use priorities.

On Tue, Jun 16, 2009 at 2:08 PM, Denis Frolov<[email protected]> wrote:
> Hi,
>
> On Mon, Jun 15, 2009 at 11:33 PM, David
> Avendasora<[email protected]> wrote:
>> Hey Kieran,
>>
>> I believe that any given application or framework can only have two files:
>> user.d2wmodel and d2w.d2wmodel (user.d2model would normally be maintained by
>> the Assistant). If you have an application with 3 D2W frameworks, then you'd
>> have a total of 8 files to work with. The rule with the _highest_ priority
>> number will win. I'm not sure what happens if two rules have the same
>> priority though.
>
> https://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_5.1/DirectToWeb/Architecture/The_Rule_System.html
>
> "If two or more rules have the same priority, the rule with the most
> specific left-hand side (applying to the least number of cases)
> fires."
>
> Personally I try to avoid relying on specificity and use pri
>
>
>>
>> Remember, if you use -D2WTraceRuleFiringEnabled YES as a launch argument,
>> you can see all the rules fire so you'll know which one is doing what.
>>
>> Dave
>>
>> On Jun 15, 2009, at 2:03 PM, Kieran Kelleher wrote:
>>
>>> OK, as I add D2W into existing apps, I may ask some dumb questions this
>>> year, so bear with me ;-)
>>>
>>> Question: For a typical app having D2W and the essential Wonder D2W
>>> frameworks too, what are all the rule files that get picked up? Is it only
>>> ones named d2w.d2wmodel and user.d2wmodel files or is it all and any file
>>> *.d2wmodel?
>>>
>>> Regards, Kieran
>>> _______________________________________________
>>> 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/dfrolov%40demax.ru
>>
>> 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