[Seaside] Seaside Book, Chapter 17, File Library

Paul DeBruicker pdebruic at gmail.com
Fri Apr 27 22:08:55 UTC 2012


I can't tell from your question but were you able to follow section 17.3.1:

http://book.seaside.st/book/in-action/serving-files/filelibraries/creating

?

It shows how to create your own file library, and add files to is.  Is 
that what you are looking to do?




On 04/27/2012 12:14 PM, blake wrote:
> I'm looking at chapter 17, on the file library, and when I get to the
> practical example in 17.4 I don't see how it works.
>
> Clearly, you're supposed to piggy-back the file library on to the
> counter component, but there's no explanation of how.
>
> The only code shown is:
>
> WAFileLibrary subclass: #CounterLibrary
>      instanceVariableNames: ''
>      classVariableNames: ''
>      poolDictionaries: ''
>      category: 'Test'
>
> And this is followed by two screen shots which show a visual
> representation of...looks like a file picker (HTML input file type),
> and some buttons. But I don't see where they come from. FileLibrary
> descends from WAObject, not WAComponent (sensibly), so it can't come
> from the WAFileLibrary itself.
>
> What am I missing?
>
> ===Blake===
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list