skip to main | skip to sidebar

Logi Helgu's digital haven

In case of personal memory failures...

27 September 2007

WOImage with data binding

A WOImage with data bound to NSData( read from DB ) was not showing up on print.
Binding the "key" to a unique identifier for every image did the trick.
Hugi pointed this out to me, he had run into it some years ago, seems the NSData is only kept for a short period of time in the cache and setting the key will extend it's lifetime there.

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • design (1)
  • eclipse (10)
  • gmail (4)
  • java (5)
  • mac (3)
  • presentations (2)
  • protools (1)
  • requirements (1)
  • unix (3)
  • video (1)
  • webobjects (17)
  • webtools (3)
  • wolips (1)
  • wordpress (1)
  • work (5)

Blog Archive

  • ►  2011 (1)
    • ►  February (1)
  • ►  2010 (4)
    • ►  December (1)
    • ►  November (1)
    • ►  February (2)
  • ►  2009 (5)
    • ►  October (1)
    • ►  August (1)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2008 (11)
    • ►  August (3)
    • ►  July (2)
    • ►  May (1)
    • ►  March (3)
    • ►  January (2)
  • ▼  2007 (36)
    • ►  November (2)
    • ►  October (17)
    • ▼  September (17)
      • Fetching raw rows
      • WOImage with data binding
      • UNIX find pattern
      • Unix du
      • Unix ls
      • Subversion path
      • Unique ID for element
      • Get previous page name
      • Gmail icelandic spell checking
      • SQL output from WO
      • Kill process on port
      • new WOComponent instance
      • WOFileUpload
      • Icelandic thousand seperator
      • Date Formatting
      • Read file contents
      • Overwriting valueForKeyPath