Well I'm the dummy.

I was looking at this rule:

(task = 'query' and (smartAttribute.className = 'java.lang.Boolean' or 
((smartAttribute.userInfo.erPrototype = 'Boolean' or 
smartAttribute.userInfo.erPrototype = 'BooleanYesNo') and 
(smartAttribute.className = 'java.math.BigDecimal' or smartAttribute.className 
= 'java.lang.Number'))))

which resolves componentName to ERD2WCustomQueryBoolean

So I couldn't figure out why I was getting that other message.

Anyway my attribute name was filled and in my rule I spelt it fillled

Tired eyes on a Friday didn't see it until after I had lunch.

Sorry about that everyone,

Johnny

On Oct 11, 2013, at 1:42 PM, Johnny Miller <[email protected]> wrote:

> Hi Jesse,
> 
> I'm trying to query on not edit a boolean.  The components that I see are:
> 
> ERD2WQueryBooleanRadioList which subclasses D2WQueryBoolean
> 
> But the problem is it works with Integers and not Booleans.  So true is 
> anything great than 0.  But I don't really want to change my model if I don't 
> have to...
> 
> Thank you,
> 
> Johnny
> 
> 
> On Oct 11, 2013, at 1:36 PM, Jesse Tayler <[email protected]> wrote:
> 
>> 
>> is ERD2WCustomEditBoolean helpful at all?
>> 
>> 
>> 
>> 
>> On Oct 11, 2013, at 7:32 PM, Jesse Tayler <[email protected]> wrote:
>> 
>>> 
>>> others may have far more accurate response to your problem.
>>> 
>>> this reminds me of the response a base component might return when it 
>>> fails, which doesn’t suggest to me that there’s not another component which 
>>> would allow that in a query.
>>> 
>>> have you written a component yourself and tried or otherwise combed through 
>>> modern look for one more suitable?
>>> 
>>> I’m sorry I am not more help —perhaps others will chime in. 
>>> 
>>> I can only say I’m not aware of why you’d be unable to do anything the JDBC 
>>> adaptor and your database might allow, or why D2W would prevent such.
>>> 
>>> 
>>> On Oct 11, 2013, at 7:18 PM, Johnny Miller <[email protected]> wrote:
>>> 
>>>> Hi Jesse,
>>>> 
>>>> I'm having the same experience as the thread that I posted.  I try to set 
>>>> a custom component on the propertyKey but instead of displaying the 
>>>> component it writes the following string:  "- cannot be used in a query -"
>>>> 
>>>> That's why I asked the list.
>>>> 
>>>> Aloha,
>>>> Mr. Johnny Miller
>>>> Web Development Manager
>>>> Kahalawai Media Company
>>>> Lahaina, HI 96761
>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>> website | e-mail   
>>>> 
>>>> On Oct 11, 2013, at 1:13 PM, Jesse Tayler <[email protected]> wrote:
>>>> 
>>>>> 
>>>>> I am not aware of any reason why one would be unable to write any kind of 
>>>>> query component.
>>>>> 
>>>>> I would think there’s something nice in the modern look frameworks for 
>>>>> you, have you tried and are having a specific trouble or just wondering 
>>>>> and found that google provides WO people with bizarrely crappy search 
>>>>> results typically favoring the old and negative over seemingly anything 
>>>>> found on our modern wiki!! …sigh...I digress…
>>>>> 
>>>>> 
>>>>> On Oct 11, 2013, at 6:37 PM, Johnny Miller <[email protected]> wrote:
>>>>> 
>>>>>> hi,
>>>>>> 
>>>>>> I found this thread on this topic: 
>>>>>> http://lists.apple.com/archives/webobjects-dev/2004/Dec/msg00079.html
>>>>>> 
>>>>>> Which basically says you can't do this.  Has anything changed since 2004 
>>>>>> or does someone have a work around?
>>>>>> 
>>>>>> Thanks in advance,
>>>>>> 
>>>>>> Aloha,
>>>>>> Mr. Johnny Miller
>>>>>> Web Development Manager
>>>>>> Kahalawai Media Company
>>>>>> Lahaina, HI 96761
>>>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>>>> website | e-mail 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> 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/jtayler%40oeinc.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/jtayler%40oeinc.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]

Reply via email to