• 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
AjaxNotificationCenter problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AjaxNotificationCenter problem


  • Subject: AjaxNotificationCenter problem
  • From: Ângelo Andrade Cirino <email@hidden>
  • Date: Thu, 27 Mar 2014 14:20:38 -0300

Hi,

I am trying to implement a change in the display properties of an entity depending upon the selection of a ERD2WCustomEditBoolean, but the delegate isn't called. These are the rules

100 : (task = 'edit' and pageConfiguration = 'CreatePartyNI') => propertyChangedDelegate = "delegates.isPersonChangeDelegate" [ERDDelayedObjectCreationAssignment]
100 : (task = 'edit' and propertyKey = 'isPerson') => customComponentName = "ERD2WCustomEditBoolean" [com.webobjects.directtoweb.Assignment]
100 : pageConfiguration = 'CreatePartyNI' => aboveDisplayPropertyKeys = ("ajaxNotificationCenter") [com.webobjects.directtoweb.Assignment]
100 : propertyKey = 'ajaxNotificationCenter' => componentName = "AjaxNotificationCenter" [com.webobjects.directtoweb.Assignment]

For now the delegate is simply this

package delegates;


import com.webobjects.directtoweb.D2WContext;

import com.webobjects.foundation.NSArray;

import com.webobjects.foundation.NSLog;


import er.ajax.look.interfaces.PropertyChangedDelegate;


public class isPersonChangeDelegate implements PropertyChangedDelegate {


@Override

public NSArray<String> propertyChanged(D2WContext context) {

NSLog.out.appendln("********* isPersonChangeDelegate called");

return null;

}

}


By inspecting the D2W properties I can confirm that all the rules and properties are correctly set up. Inspecting the HTML I can see the _javascript_ function and it is correctly called when the selection is changed. But I can't see what is my mistake that the delegate isn't called.

Angelo
 _______________________________________________
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

  • Follow-Ups:
    • Re: AjaxNotificationCenter problem
      • From: Fabian Peters <email@hidden>
  • Prev by Date: Re: WOLips gives WO Template Problems (keypaths) even if not real problems!
  • Next by Date: Re: AjaxNotificationCenter problem
  • Previous by thread: Re: Java 8
  • Next by thread: Re: AjaxNotificationCenter problem
  • Index(es):
    • Date
    • Thread