Re: Quick Q regarding D2W smartAttributes
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