• 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: Is this a violation of the EOF commandment?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a violation of the EOF commandment?


  • Subject: Re: Is this a violation of the EOF commandment?
  • From: Travis Britt <email@hidden>
  • Date: Thu, 12 Nov 2009 18:32:06 -0500

validateValueForKey is safe for coercing user input tho right?

tb

On Nov 12, 2009, at 4:59 PM, David Avendasora wrote:
> Nope. This is exactly where you should put this type of thing. If you put this in the validation methods you'd be asking for trouble.
>
> Dave
>
> On Nov 12, 2009, at 4:49 PM, Ricardo J. Parada wrote:
>
>>
>>     public void setCpt(String value) {
>>         if (value != null) value = value.toUpperCase();
>>         super.setCpt(value);
>>     }
>>
>> P.S. I'm using eo-gap generation pattern.  So this class extends the _ class generated by the _WonderEntity.java template.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Is this a violation of the EOF commandment?
      • From: Chuck Hill <email@hidden>
References: 
 >Is this a violation of the EOF commandment? (From: "Ricardo J. Parada" <email@hidden>)
 >Re: Is this a violation of the EOF commandment? (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: My Eclipse keeps running out of memory
  • Next by Date: Re: Is this a violation of the EOF commandment?
  • Previous by thread: Re: Is this a violation of the EOF commandment?
  • Next by thread: Re: Is this a violation of the EOF commandment?
  • Index(es):
    • Date
    • Thread