Re: shouldShowCancelButton
Re: shouldShowCancelButton
- Subject: Re: shouldShowCancelButton
- From: Jesse Tayler <email@hidden>
- Date: Thu, 25 Jul 2013 12:25:24 -0400
Thanks David,
I moved the rule to a boolean assignment as you suggest, and I noted that this changed the report from 1 to 0 in the d2w page inspector
but my cancel button is quite persistent!
here’s what my rule ended up as
120 : (task = 'edit' and entity.name = ‘Post') => shouldShowCancelButton = "false" [com.webobjects.directtoweb.BooleanAssignment],
hmmmm...
On Jul 25, 2013, at 12:13 PM, David LeBer <email@hidden> wrote:
> Something like:
>
> 100 : (task = 'create') => shouldShowCancelButton = "false" [com.webobjects.directtoweb.BooleanAssignment]
>
> Should work.
>
> --
> David LeBer
> Codeferous Software
>
> On 2013-07-25, at 11:51 AM, Jesse Tayler <email@hidden> wrote:
>
>>
>> In Modern Look, I want to get rid of the cancel on my create pages because there’s typically no place to really cancel back to.
>>
>> So, I implemented
>>
>> shouldShowCancelButton = “NO”
>>
>> and my page’s D2W inspector reports the result as being “NO” but still the cancel button is there?
>>
>> another rule or setting needed here?
>>
>>
>>
>> _______________________________________________
>> 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