Re: Making individual objects bookmarkable
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