PackageDescription: Seaside-Resources

Seaside - Resources

Last published: July 7, 2009 by 'jkott'

Defines 2 Classes
Extends 2 Classes

Session resources are a way to attach related information to a seaside session (a locale, a database session, etc). Moreover a session will notify all its associated resources about important events through a set of callbacks that the resources may choose to act on. WASessionResource can be subclassed or serve as a template for all available callbacks.

A root component can choose to use a session with resources by configuring their session preference accordingly, customarily in a class side initialize method of the component class:

(self registerAsApplication: 'ApplicationName')
preferenceAt: #sessionClass put: Seaside.WAResourcefulSession