• 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: Quick Q regarding D2W smartAttributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick Q regarding D2W smartAttributes


  • Subject: Re: Quick Q regarding D2W smartAttributes
  • From: Jesse Tayler via Webobjects-dev <email@hidden>
  • Date: Wed, 2 Dec 2020 08:07:08 -0500

Just as a thought, I look and noted I have a component rule for boolean in my
app with much the same logic at 100 priority. This suggests you’ve just got
some OTHER rule cranked up and don’t forget that rule could just be VERY strict
with greater specificity vs. priority.


100 : (smartAttribute.className = 'java.lang.Boolean' and task != 'edit') =>
componentName = ERD2WCustomDisplayBoolean
[com.webobjects.directtoweb.Assignment]



> On Dec 2, 2020, at 6:15 AM, Markus Ruggiero via Webobjects-dev
> <email@hidden> wrote:
>
> Quick question:
> Why does this rule
>
> 200 : (smartAttribute.className = 'java.lang.Boolean' and task = 'list') =>
> componentName = "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment]
>
> not fire (even with a bumped-up prio)? A more specific rule however works but
> is a nuisance because I have tons of such isXyz propertyKeys.
>
> 100 : (propertyKey = 'isActive' and task = 'list') => componentName =
> "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment]
>
> I must be missing something trivial (it's always the trivial things that ruin
> the day).
>
> Thanks a lot
> ---markus---
>
>
> _______________________________________________
> 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

References: 
 >Quick Q regarding D2W smartAttributes (From: Markus Ruggiero via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Quick Q regarding D2W smartAttributes
  • Next by Date: Re: Quick Q regarding D2W smartAttributes
  • Previous by thread: Re: Quick Q regarding D2W smartAttributes
  • Next by thread: Re: Quick Q regarding D2W smartAttributes
  • Index(es):
    • Date
    • Thread