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 protected]> 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 protected]> wrote: > >> I thought propertyKey had a capital K. >> >> >> On Jul 30, 2014, at 9:36 PM, Timothy Worman <[email protected]> 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 protected]) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >>> >>> This email sent to [email protected] > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
