[Seaside] assistance developing plugin for developing Facebook applications in Seaside

Randal L. Schwartz merlyn at stonehenge.com
Tue May 6 23:24:19 UTC 2008


>>>>> "Chris" == Chris Dawson <xrdawson at gmail.com> writes:

Chris> I'd like to write logic to enable this for my Seaside applications.
Chris> Can someone tell me how I go about overriding the proper classes in the
Chris> request chain to process these variables and then provide accessors
Chris> within my base classes to the Facebook data?

Your top level component should implement #initialRequest:,
which will be passed a WARequest object, on which you can call
things like #at: to get the various params.  See the implementors of
#initialRequest: for examples (only WABrowser in the core Seaside distro).

>From there, you should be able to do the processing as you did in Ruby, and
once validated, you can set up your components and subcomponents to reply
appropriately within the session.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


More information about the seaside mailing list