That wasn't it either. But you do agree that a boolean value in an entity 
should be able to configure what actions are displayed?

What assignment would you use?

Thanks,
David


On 2013-03-04, at 4:53 PM, Ramsey Gurley <[email protected]> wrote:

> Oh, I think I see your problem. I wasn't looking at the LHS. Try 
> 
> isOwnerLoggedInUser = 1
> 
> Unless you actually want to see if that key equals the string "true"
> Ramsey
> 
> On Mar 4, 2013, at 5:43 PM, David Holt wrote:
> 
>> Thanks Ramsey,
>> 
>> No a generic rule works fine:
>> 
>> 100 : pageConfiguration = 'ListActivities' => actions = {"right" = 
>> ("inspectAction", "deleteAction"); } [Assignment]
>> 
>> <Screen Shot 2013-03-04 at 4.42.06 PM.png>
>> On 2013-03-04, at 4:39 PM, Ramsey Gurley <[email protected]> wrote:
>> 
>>> Some ideas:
>>> 
>>> isEntityDeleteable = false?
>> 
>> Nope
>> 
>>> eo.canDelete() == false?
>> 
>> nope
>> 
>>> wrong componentName for deleteAction?
>> 
>> don't think so?
>> 
>>> On the page but hidden by css?
>> 
>> nope
>> 
>>> 
>>> Ramsey
>>> 
>>> On Mar 4, 2013, at 5:30 PM, David Holt wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> I appear to be missing something. I want to allow owners of an object to 
>>>> delete it from a list page.
>>>> 
>>>> 100 : (pageConfiguration = 'ListActivities' and isOwnerLoggedInUser = 
>>>> 'true') => actions = {"right" = ("deleteAction"); } [Assignment]
>>>> 
>>>> The actions are not showing up, even though I have the value correctly 
>>>> evaluating:
>>>> 
>>>> <Screen Shot 2013-03-04 at 4.27.10 PM.png>
>>>> I also tried the DelayedAssignment to no avail. I also tried 
>>>> isOwnerLoggedInUser = 1
>>>> 
>>>> Does anyone know why this rule is not working as I had hoped?
>>>> 
>>>> Thanks,
>>>> 
>>>> David
>>>> _______________________________________________
>>>> 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]

Reply via email to