Hi Angelo,

Right, I didn't notice that one. You should put the full class name instead of 
"delegates.isPersonChangeDelegate" – something like 
"com.your.app.d2w.delegates.PersonPropertyChangeDelegate".

Fabian

Am 28.03.2014 um 14:32 schrieb Ângelo Andrade Cirino <[email protected]>:

> Hi again,
> 
> I forgot to add this parameter to my run configuration 
> -D2WTraceRuleFiringEnabled YES and now I am able to see all the logging I 
> need. Unfortunately the delegate rule isn't fired. Other rules are loaded and 
> fired, but not this
> 
> 100 : (task = 'edit' and entity.name = 'PartyNI') => propertyChangedDelegate 
> = "delegates.isPersonChangeDelegate" [ERDDelayedObjectCreationAssignment]
> 
> This is the log when the create action is executed
> 
> ****** fire :    100 : (entity.name like 'Party*') => isPerson = 
> object.isPerson 
> [er.directtoweb.assignments.delayed.ERDDelayedKeyValueAssignment] (100001)
> ****** fire :    100 : ((task = 'edit') and (pageConfiguration = 
> 'CreatePartyNI') and (isPerson = (java.math.BigDecimal)'1')) => 
> displayPropertyKeys = ("isPerson", "status", "person.firstName", 
> "person.lastName") (100503)
> ****** fire :     10 : *true* => displayNameForTabKey = 
> <ERDDefaultDisplayNameAssignment> 
> [er.directtoweb.assignments.defaults.ERDDefaultDisplayNameAssignment] (10000)
> Mar 28 10:26:21 PartyEvaluationApp[64474] DEBUG NSLog (CreatePartyNI) - 
> <WOImage>: No height or width information provided for 'busyBigSpinner.gif'. 
> If possible, this information should be provided for best performance.
> ****** fire :     10 : (task = 'edit') => hasForm = 1 
> [com.webobjects.directtoweb.BooleanAssignment] (10001)
> 
> And this when the observed component is changed
> 
> ****** fire :      0 : *true* => shouldCollectValidationExceptions = 1 
> [com.webobjects.directtoweb.BooleanAssignment] (0)
> 
> There is something very wrong. Is there a way to programmatically assign the 
> change delegate?
> 
> Angelo


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

This email sent to [email protected]

Reply via email to