[Seaside] 0.94 release

Avi Bryant seaside@lists.squeakfoundation.org
Wed, 26 Jun 2002 17:10:25 -0700 (PDT)


So I've fixed a couple of nagging problems in 0.94 and patched up the
existing documentation so it's not too inconsistent.  Let's call this a
release ;-).

Seaside 0.94 is now available from http://beta4.com/seaside .  This
release significantly changes the way bindings are handled.
A brief overview of what's required to migrate from 0.93 to 0.94:

- all implementations of #addBindingsTo: will have to be changed to
#addHandlers ('template' is now an instance variable of IAComponent and
can be accessed directly).

- The #bind:... and #set:... forms are now deprecated.  #bind:toPath: and
#set:toPath: will still function as before for subcomponents, but they are
no longer supported for template elements.  #bind:toNumber: and similar
methods are replaced with #inputConversion: and #outputConversion; for
example, this:

addBindingsTo: template
  (template elementNamed: 'amount')
    bind: #value toNumber: 'amount'

becomes this:

addHandlers
  (template elementNamed: 'amount')
    inputConversion: #asNumber

For subcomponents as well as template elements, it is recommended that the
#onDisplay:/#onUpdate: methods be used rather than bindings.  These are
explained at http://beta4.com/seaside/design.html .

All of the example applications have been updated to 0.94; it may be
useful and informative to examine them.

Please post any bugs, concerns, or problems you have when updating your
applications.

Cheers,
Avi