Re: checkBox clickable from a Rule
Re: checkBox clickable from a Rule
- Subject: Re: checkBox clickable from a Rule
- From: Philippe Rabier <email@hidden>
- Date: Thu, 29 Mar 2012 22:52:43 +0200
For a list, you write rules with task='edit' ? Or because you want a different behavior for the list, you do specific rules for the edit task?
However, your first rule seems to be wrong. If (propertyKey = 'estimateApproved') is true, the rule will be fired whatever the value of task. The same for 'abPresident' because you put () at the wrong place.
Maybe I misunderstood what you try to do but the rule should be like that :
> task = 'edit' and entity.name = 'Brief' and (propertyKey = 'abECD' or propertyKey = 'abPresident' or propertyKey = 'estimateApproved')
Philippe
Sent from my iPhone
On 29 mars 2012, at 20:22, Theodore Petrosky <email@hidden> 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
_______________________________________________
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