[Seaside] SeasideXUL improvements

Conrad Taylor conradwt at gmail.com
Thu Apr 17 19:13:35 UTC 2008


Hey Pavel, is it necessary to have the version in the name of the component?
 For example, XULComponent2 could be simply called XULComponent.  Thus,
leaving the version tracking to Monitcello.  Now, when the XULComponent
updates to version 2.x or 3, one doesn't have to replace all the instances
of the name within the source.
Just a thought,

-Conrad

On Thu, Apr 17, 2008 at 10:52 AM, Pavel Krivanek <squeak3 at continentalbrno.cz>
wrote:

> Hi,
>
> I did some useful changes in SeasideXUL
> (http://www.squeaksource.com/SeasideXUL.html). Here is the list:
>
> - support for latest Seaside 2.8
> - Scriptaculous dependency removed
> - ajax callbacks do not require response canvas so usage is now very
> similar to standard Seaside processing. For example:
>
>        xul button
>                onCommand: (xul ajax callback: [
>                        |  result |
>                        result := self call: XULComponent2 new.
>                        self call: (XULComponent2 new text: result) ]).
>
>        xul button
>                label: 'answer';
>                onCommand: (xul ajax callback: [self answer: 42 ]).
>
> - ajax-based support for an alternative to HTML forms with textboxes,
> checkboxes, colorpickers, listboxes, menulists (inc. comboboxes) and
> radiogroups. Their usage is very straightforward too:
>
>        formId := WAExternalID new.
>        xul form: formId with: [
>                xul textBox on: #surname of: self.
>                xul colorPicker type: 'button'; on: #color of: self.
>                xul button
>                        label: 'Submit';
>                        onCommand: (xul formSubmiter
>                                formId: formId;
>                        callback: [ self refresh. ]) ].
>
> Cheers,
> -- Pavel
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080417/f35bfcd5/attachment.htm


More information about the seaside mailing list