Re: Prevent NEW in D2W?
Re: Prevent NEW in D2W?
- Subject: Re: Prevent NEW in D2W?
- From: David LeBer <email@hidden>
- Date: Tue, 30 Aug 2011 09:11:22 -0400
Markus,
The New button is usually provided by the page wrapper or the menu header so you should be able to control whether it gets displayed on your own. e.g: The New button in ERModern based apps is configured in the NavigationMenu.plist
In ERMODEditRelationshipPage isEntityCreateable is supported as a key.
On 2011-08-29, at 9:32 AM, Markus Ruggiero wrote:
> Quick D2W question:
>
> isEntityEditable, isEntityDeletable, isEntityInspectable are all fine, but is there something like isEntityNewable?
>
> In other words: I have an entity with exactly one record that contains some global parameters to my app. The user must be able to update that one record but he must not be able to add a new record, there must be exactly one record with the same primary key at all times. How would I do this?
>
> Thanks
> ---markus---
>
> _______________________________________________
> 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
>
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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