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

Re: rules that don't seem to want to fire


  • Subject: Re: rules that don't seem to want to fire
  • From: David Holt <email@hidden>
  • Date: Fri, 08 Feb 2013 09:08:28 -0800

On 2013-02-08, at 8:44 AM, Theodore Petrosky <email@hidden> wrote:

> 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 was an example from my app. Do you have a propertyKey called 'abstract'?


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

 _______________________________________________
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: Theodore Petrosky <email@hidden>
References: 
 >rules that don't seem to want to fire (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: rules that don't seem to want to fire
  • Next by Date: Re: rules that don't seem to want to fire
  • Previous by thread: rules that don't seem to want to fire
  • Next by thread: Re: rules that don't seem to want to fire
  • Index(es):
    • Date
    • Thread