• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: read-only binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-only binding


  • Subject: Re: read-only binding
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 04 Feb 2016 21:53:06 +0000
  • Thread-topic: read-only binding

No, he is talking about a binding in a .wo template.   There is no “read only” setting in the API file.  I’ve always done the "empty do-nothing setter” thing and documented why in a comment.




On 2016-02-04, 1:29 PM, "webobjects-dev-bounces+chill=email@hidden on behalf of Theodore Petrosky" <webobjects-dev-bounces+chill=email@hidden on behalf of email@hidden> wrote:

>when I select the attribute in Entity Modeler, in the advanced tab of the attribute there is the “Read Only” setting.
>
>Is this what you want?
>
>Ted
>
>
>> On Feb 4, 2016, at 3:12 PM, OC <email@hidden> wrote:
>>
>> Hello there,
>>
>> probably another 101, but strangely, I can't find a solution*: can I declare somehow that a particular binding should be R/O, i.e., that sub-component pulls the value when page is generated, but never tries to push the value back?
>>
>> Of course I can work-around by writing an empty do-nothing setter, but that's ugly.
>>
>> Thanks,
>> OC
>>
>> * but for a possibility to set synchronizesVariablesWithBindings to NO and manage all bindings manually, which would be sort of overkill
>>
>>
>> _______________________________________________
>> 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


References: 
 >read-only binding (From: OC <email@hidden>)
 >Re: read-only binding (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: read-only binding
  • Next by Date: NSMutableDictionary
  • Previous by thread: Re: read-only binding
  • Next by thread: NSMutableDictionary
  • Index(es):
    • Date
    • Thread