[Seaside] Seaside Book, Chapter 17, File Library
watchlala at hotmail.com
Fri Apr 27 22:25:10 UTC 2012
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.
Creating your own form, etc. isn't especially difficult either.
Sent from my G2.
> Date: Fri, 27 Apr 2012 15:08:55 -0700
> From: pdebruic at gmail.com
> To: seaside at lists.squeakfoundation.org
> Subject: Re: [Seaside] Seaside Book, Chapter 17, File Library
> I can't tell from your question but were you able to follow section 17.3.1:
> 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
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside