Santiago Gala wrote:

> (...) quoting myself :( 


>
> Random thought (take it with a cup of salt):
>
> A simple id generation algorithm: take the parent id, and append "." + 
> a max-sibling number from parent. Each portletset would store a number 
> that is the number of portlet ever contained inside (when a portlet is 
> removed, the number is *not* decremented, so it is not equal to the 
> sibling count). To guarantee it, when a portletset receives a portlet 
> with null id, it will generate one using this scheme and increment 
> max-siblings. When it receives a portlet with non-null id, it will 
> just increment max-siblings.

(...)

I see David has it half way committed, so forget about it for the moment.

(...)




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to