« Return to Thread: assistance developing plugin for developing Facebook applications in Seaside

Re: assistance developing plugin for developing Facebook applications in Seaside

by Randal L. Schwartz :: Rate this Message:

Reply to Author | View in Thread

>>>>> "Chris" == Chris Dawson <xrdawson@...> 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@...> <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
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: assistance developing plugin for developing Facebook applications in Seaside