• 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
rules that don't seem to want to fire
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rules that don't seem to want to fire


  • Subject: rules that don't seem to want to fire
  • From: Theodore Petrosky <email@hidden>
  • Date: Fri, 08 Feb 2013 08:44:57 -0800 (PST)

OK now I have two instances where rules that should fire just don't do anything.

100 : propertyKey = 'abstract' => qualifierOperators = ("contains", "starts with", "like") [com.webobjects.directtoweb.Assignment]

this should fire when a ERD2WQueryStringOperator component is used. I know the component is used because I started mucking with the .java and sure enough the page is displayed and the java has:

NSLog.out.appendln("***   allQualifierOperators " + qualifierOperatorsOverrideFromRules());

which is returning:

***   allQualifierOperators null

in the .java:

public NSArray<String> qualifierOperatorsOverrideFromRules(){
        return (NSArray<String>)d2wContext().valueForKey("qualifierOperators");
}

so the rule is NOT passing in the array.



then there is the issue of isEntityInspectable.

nothing I do  will turn off the Inspect button on a ERMODEditRelationshipPage

this rule will turn off ALL inspect buttons except on the ERMODEditRelationshipPage
102 : *true* => isEntityInspectable = "false" [com.webobjects.directtoweb.BooleanAssignment]

the pageConfiguration is listed as EditRelationshipEmbeddedPWOMileStone
102 : pageConfiguration = 'EditRelationshipEmbeddedPWOMileStone' => isEntityInspectable = "false" [com.webobjects.directtoweb.BooleanAssignment]

to no avail. I have been looking over the ERMODEditRelationship template. I have spent two hours looking at every template to see where the condition is set and I can not find it.

Could it be that there is no isEntityInspectable key in ERMODEditRelationshipPage?

Ted

 _______________________________________________
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: rules that don't seem to want to fire
      • From: David Holt <email@hidden>
  • Prev by Date: Frontbase metadata with DBUnit not working
  • Next by Date: Re: rules that don't seem to want to fire
  • Previous by thread: Re: Frontbase metadata with DBUnit not working--NOW WORKING
  • Next by thread: Re: rules that don't seem to want to fire
  • Index(es):
    • Date
    • Thread