Re: D2W Enum Query
Re: D2W Enum Query
- Subject: Re: D2W Enum Query
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 31 Jul 2014 09:50:31 -0700
You might consider a rule that covers all cases. I use
20 : (task = 'query' and smartAttribute.prototypeName = 'javaEnum') => componentName = "R2D2WQueryEnum" [com.webobjects.directtoweb.Assignment]
On Jul 30, 2014, at 9:26 PM, Timothy Worman <email@hidden> wrote:
> Ah, for the love of….. :-) Of course all of the rules above and below are correct.
>
> That fixes it. Thanks!
>
> Tim
>
> On Jul 30, 2014, at 7:12 PM, Theodore Petrosky <email@hidden> wrote:
>
>> I thought propertyKey had a capital K.
>>
>>
>> On Jul 30, 2014, at 9:36 PM, Timothy Worman <email@hidden> wrote:
>>
>>> D2W’ers:
>>>
>>> I’ve set up a custom component for querying an enum attribute (thanks to Ramsey for some good ideas and Ponder). I’ve got a rule that indicates that this component should be used when querying my entity. It looks like this:
>>>
>>> 100 : (task = 'query' and entity.name = 'KeyCheckout' and propertykey = 'status') => componentName = "GSEISD2WQueryEnum" [com.webobjects.directtoweb.Assignment]
>>>
>>> When I run the app, the attribute in question shows this on the query page: - cannot be used in a query -
>>>
>>> I’ve done what I thought I needed to do but obviously something is missing. Could anyone point me in the right direction? I have a similar custom component in place for editing the enum attribute and that works fine. Any help is appreciated.
>>>
>>> Tim
>>> UCLA GSE&IS
>>> _______________________________________________
>>> 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
_______________________________________________
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