<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I think I see your confusion. All the WAFileLibrary subs can be accessed via the dispatcher (under files? Can't quite remember). That's where the uploader / buttons are coming from.<br><br>Creating your own form, etc. isn't especially difficult either.<br><br>Sent from my G2.<br><br>RS<br><br>> Date: Fri, 27 Apr 2012 15:08:55 -0700<br>> From: pdebruic@gmail.com<br>> To: seaside@lists.squeakfoundation.org<br>> Subject: Re: [Seaside] Seaside Book, Chapter 17, File Library<br>> <br>> I can't tell from your question but were you able to follow section 17.3.1:<br>> <br>> http://book.seaside.st/book/in-action/serving-files/filelibraries/creating<br>> <br>> ?<br>> <br>> It shows how to create your own file library, and add files to is. Is <br>> that what you are looking to do?<br>> <br>> <br>> <br>> <br>> On 04/27/2012 12:14 PM, blake wrote:<br>> > I'm looking at chapter 17, on the file library, and when I get to the<br>> > practical example in 17.4 I don't see how it works.<br>> ><br>> > Clearly, you're supposed to piggy-back the file library on to the<br>> > counter component, but there's no explanation of how.<br>> ><br>> > The only code shown is:<br>> ><br>> > WAFileLibrary subclass: #CounterLibrary<br>> > instanceVariableNames: ''<br>> > classVariableNames: ''<br>> > poolDictionaries: ''<br>> > category: 'Test'<br>> ><br>> > And this is followed by two screen shots which show a visual<br>> > representation of...looks like a file picker (HTML input file type),<br>> > and some buttons. But I don't see where they come from. FileLibrary<br>> > descends from WAObject, not WAComponent (sensibly), so it can't come<br>> > from the WAFileLibrary itself.<br>> ><br>> > What am I missing?<br>> ><br>> > ===Blake===<br>> > _______________________________________________<br>> > seaside mailing list<br>> > seaside@lists.squeakfoundation.org<br>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside@lists.squeakfoundation.org<br>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                            </div></body>
</html>