• 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: Saving properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving properties


  • Subject: Re: Saving properties
  • From: Art Isbell <email@hidden>
  • Date: Tue, 18 Feb 2003 13:25:05 -1000

On Tuesday, February 18, 2003, at 11:11  AM, Art Isbell wrote:

On Tuesday, February 18, 2003, at 09:21  AM, Dan wrote:

So in WO 5 what is the recommended (best) way to save properties
programmatically, so that they will be read back in the next time the
application is launched (and no - I don't particularly want to save them into
some kind of database table)?

I believe that Properties files in WO frameworks will be merged in some way with the main app's Properties file.

The javadoc for com.webobjects.foundation.NSProperties describes this process. Apparently a WO app will do this merging automatically.


Although java.util.Properties is a replacement for the old NSUserDefaults, you can store properties in any file. However, only files named "Properties" will be accessible via System and other properties methods.

Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: It's a question of - cookies
  • Next by Date: Memory footprint
  • Previous by thread: Re: Saving properties
  • Next by thread: Need Help With 5.2 Web Services
  • Index(es):
    • Date
    • Thread