Re: checkBox clickable from a Rule
Re: checkBox clickable from a Rule
- Subject: Re: checkBox clickable from a Rule
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 29 Mar 2012 13:50:50 -0700
Look at the parenthesis :-) Needs to be
(task = 'edit' and entity.name = 'Brief') and (propertyKey = 'abECD' or propertyKey = 'abPresident' or propertyKey = 'estimateApproved')
Default rules should be handling the display boolean for you as long as those keys are boolean attributes and not just methods that return booleans.
Ramsey
On Mar 29, 2012, at 11:22 AM, Theodore Petrosky wrote:
> I just started the font method and I kind of liked it because it gave me a great deal of control over the look with css. However, D2WDisplayBoolean works great.
>
> Interesting this works with the editPage:
>
> (((task = 'edit' and entity.name = 'Brief') and propertyKey = 'abECD') or propertyKey = 'abPresident' or propertyKey = 'estimateApproved')
>
> However, on a list page I had to remove the or's and have three lines.
>
> (task = 'edit' and entity.name = 'Brief') and propertyKey = 'abECD')
> (task = 'edit' and entity.name = 'Brief') and propertyKey = 'estimateApproved')
> (task = 'edit' and entity.name = 'Brief') and propertyKey = 'abPresident')
>
> Is this expected behavior?
>
> Ted
>
>
> --- On Thu, 3/29/12, Ramsey Gurley <email@hidden> wrote:
>
>> From: Ramsey Gurley <email@hidden>
>> Subject: Re: checkBox clickable from a Rule
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: email@hidden
>> Date: Thursday, March 29, 2012, 1:31 PM
>> It sounds like you're using an edit
>> boolean component on a list page. If that's the case, you
>> need to change it to a display boolean. You may have
>> created a rule that is too broad like
>>
>> entity.name = "Blah" and propertyKey = "thing" =>
>> componentName = EditBoolean
>>
>> Where you need to either use the pageConfiguration or task
>> on the LHS side too.
>>
>> Ramsey
>>
>>
>> On Mar 29, 2012, at 10:01 AM, Theodore Petrosky wrote:
>>
>>> I have a list page that shows an object that has a few
>> checkboxes. I want to make the check boxes un clickable on
>> the ListPage.
>>>
>>>
>>> ((pageConfiguration = 'ListBrief' and propertyKey =
>> 'abECD') or propertyKey = 'abPresident' or propertyKey =
>> 'estimateApproved')
>>>
>>> Is there a RHK to set to false to make these checkboxes
>> static? I mean, it doesn't mean anything to click the check
>> box and have it change state because you can not save it
>> here (from the list page).
>>>
>>> Of course I could create a font that has a hyphen for
>> the character zero and a check mark for the number one. then
>> use css to use my new font. but i think I should learn these
>> rules.
>>>
>>> Ted
>>> _______________________________________________
>>> 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