• 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: Making individual objects bookmarkable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making individual objects bookmarkable


  • Subject: Re: Making individual objects bookmarkable
  • From: Ray Ackland <email@hidden>
  • Date: Tue, 7 Aug 2007 18:47:41 +1200

James,

That's what I was waiting for. I think it's a really great idea – no need to calculate a random string as WO has already done this, and uniqueness is guaranteed due to the prefix.

Thanks for the suggestion. It was the final piece I was needing.

r

:-)

On 7/08/2007, at 17:52, james o wrote:

i use the session id as a "random string" for linking to an invoice.

String uniqueId = storeInvoice.valueForKey("rowId") + "_" + ((Session)session()).sessionID();
storeInvoice.takeValueForKey( uniqueId , "uniqueId");

 _______________________________________________
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: 
 >Making individual objects bookmarkable (From: Ray Ackland <email@hidden>)
 >Re: Making individual objects bookmarkable (From: Q <email@hidden>)
 >Re: Making individual objects bookmarkable (From: Jacob Mouka <email@hidden>)
 >Re: Making individual objects bookmarkable (From: Ray Ackland <email@hidden>)
 >Re: Making individual objects bookmarkable (From: Jacob Mouka <email@hidden>)
 >Re: Making individual objects bookmarkable (From: james o <email@hidden>)

  • Prev by Date: Re: Newbie - WOHyperlink vs WOImageButton in D2W MenuHeader.wo template
  • Next by Date: Re: Installation instructions for PC
  • Previous by thread: Re: Making individual objects bookmarkable
  • Next by thread: Making individual objects bookmarkable
  • Index(es):
    • Date
    • Thread