• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxNotificationCenter problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxNotificationCenter problem


  • Subject: Re: AjaxNotificationCenter problem
  • From: Fabian Peters <email@hidden>
  • Date: Fri, 28 Mar 2014 17:03:52 +0100

Hi Angelo,

"isPersonChangeDelegate" is the name of your delegate class? Though I don't think it relates to your problem, you should start with an uppercase character.

The rule for "propertyChangedDelegate" should fire already when the application first loads, IIRC. What about the logging output from the AjaxNotificationCenter class?

Fabian

Am 28.03.2014 um 16:23 schrieb Ângelo Andrade Cirino <email@hidden>:

> I created the change delegate class with a short path, that's the actual full class name.
>
> Angelo
>
>
> 2014-03-28 10:53 GMT-03:00 Fabian Peters <email@hidden>:
> 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@hidden>:
>
> > 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
>
>
>
>
> --
> Ângelo Andrade Cirino
> email@hidden
> 31-3494-8642
> 31-9303-0695
> MSN email@hidden
> Skype aacirino


 _______________________________________________
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


References: 
 >AjaxNotificationCenter problem (From: Ângelo Andrade Cirino <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Fabian Peters <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Ângelo Andrade Cirino <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Fabian Peters <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Fabian Peters <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Ângelo Andrade Cirino <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Fabian Peters <email@hidden>)
 >Re: AjaxNotificationCenter problem (From: Ângelo Andrade Cirino <email@hidden>)

  • Prev by Date: Re: AjaxNotificationCenter problem
  • Next by Date: EO Cache that returns NSArray<EntityName>
  • Previous by thread: Re: AjaxNotificationCenter problem
  • Next by thread: EO Cache that returns NSArray<EntityName>
  • Index(es):
    • Date
    • Thread