skip to main | skip to sidebar

Logi Helgu's digital haven

In case of personal memory failures...

20 September 2007

Unique ID for element

When working with JavaScript I often need a unique ID for the current component I'm woking with:


ERXStringUtilities.replaceStringByStringInString( ".", "_", context().elementID().toString() );

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