Re: D2W rules not being used
Re: D2W rules not being used
- Subject: Re: D2W rules not being used
- From: Kamal D Shah <email@hidden>
- Date: Wed, 21 Jan 2009 16:51:42 +0530
Hi cug,
Well, now the rules fire with the Wonder frameworks too. I wonder if
there is some caching mechanism. I tried like crazy so many times. And
whatever I did the rules wouldn't fire but now they do.
Thanks!
Thanks
Kamal
On 21-Jan-09, at 4:37 PM, Guido Neitzer wrote:
On 21.01.2009, at 11:57, Kamal D Shah wrote:
Actually, the rules are used if I use the WO D2W frameworks rather
than the ERD2W frameworks.
Is there anything special I need to do to make sure the rules are
used if I use the ERD2W frameworks?
What are the rules? Are you sure, that they actually fire? You can
switch on rule firing debugging by (a bit more complicate but it
helps with other stuff, too):
1. Add a ERD2WDebugFlags to your page wrapper:
html:
<webobject name="DebugFlags"></webobject>
wod:
DebugFlags : ERD2WDebugFlags {
}
2. Click on the log4j link
3. switch on debugging for rule firing:
er.directtoweb.rules.ERD2WTraceRuleFiringEnabled = Debug
cug
_______________________________________________
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