Re: Shortened autogenerated names
Re: Shortened autogenerated names
- Subject: Re: Shortened autogenerated names
- From: Anjo Krank <email@hidden>
- Date: Wed, 09 Mar 2011 19:14:57 +0100
Am 09.03.2011 um 19:04 schrieb Mike Schrag:
>>> Why couldn't one use a randomly generated unique ID that is ten characters long (or so)? There *could* be name collision but the chances would be small. Alternatively, why not invent a "context sequence" that starts at 1 and counts up throughout the Request-Response loop? That would absolutely be unique.
>> I believe that is what they are ... a "context sequence" of sorts (^_^) Specifically, they are derived from the context().elementID(). I think how this value is created is that the first number is the contextID, followed by a '.', then each element increments the element id, and each nesting adds a '.' separator character. However, my understanding of it is likely imperfect.
> this is the default behavior, but it's not required .. for instance, ERXWORepetition uses the hashcode of each repetition item instead of the child element index.
In case that this special handling is turned on via the various flags in ERXWORepetition are turned on.
And I agree that this is a non-issue. Turn on gzip and forget about it.
Cheers, Anjo
_______________________________________________
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