On 6/1/06, <b class="gmail_sendername">Ken Causey</b> <<a href="mailto:ken@kencausey.com">ken@kencausey.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I seem to remember this coming up in the past but a quick Google search<br>doesn't turn anything up. It appears that GOODS is quite happy to store<br>a BlockContext but it entirely unable to reinstantiate it. It attempts
<br>to use BlockContext (ContextPart) class>>basicNew: which throws a<br>'Contexts must only be created with newForMethod:' error. Quite a PITA<br>when you want to store something in a SortedCollection. Oh well, I
<br>guess I can call OrderedCollection>>sortBy: every time I add a new item<br>since adding is a comparatively rare action.</blockquote><div><br></div></div><br>Hi Ken,<br>
<br>Is there a reason you can't use one of the data structures in the BTree package? Those can be stored and retrieved from GOODS and are faster if you have a big collection of data anyway.<br><br>On a different note, I'd swear that a Seaside project I did about two years ago stored a SortedCollection in GOODS. I'll see if I can't find that image so I can tell you either what workaround I used or figure out what changed to break that behavior.
<br><br>--Benjamin<br>