I've followed chapter 17 in JCDA on freezing XML. I seem to be having two problems with the rules to get my query window loaded. What I want is for the LHS to be task = 'query' and the RHS should be keyPath = 'window' and value = 'WindowName'.

I add these rules to the d2w.d2wmodel file of the projects (which builds in the Application Server target with user.d2wmodel). However, the rule does not fire or even load (as evidenced by having - D2WTraceRuleFiringEnabled). So I moved the rule into user.d2wmodel file, now I see it loads, but does not fire.

Problem no. 1 is why is d2w.d2wmodel not loading?

So I set the LHS to *true* and the rule fires and the changes I made to the XML take effect, but obviously I don't want this applied to every window, only to the query window.

Problem no. 2 is why does the LHS of the rule not fire?

These seem like very basic problems (akin to the can't have spaces in project paths, that killed off using WO for me for a long time), but thanks for any suggestions.

Ian Joyner
Sportstec

_______________________________________________
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