[Seaside] SeasideXUL improvements

Pavel Krivanek squeak3 at continentalbrno.cz
Thu Apr 17 19:29:11 UTC 2008


Hi Conrad,

it's only a name for a testing component in the code example. The base
component is named XULComponent and so will be in future too. I
haven't named it XULComponent because this basic component doesn't
have any answer code and in fact, there's a real component
XULComponent2 in the package that is used for call/answer
demonstration. Sorry for confusion.

-- Pavel

On Thu, Apr 17, 2008 at 9:13 PM, Conrad Taylor <conradwt at gmail.com> wrote:
> 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
> >
>
>
> _______________________________________________
>  seaside mailing list
>  seaside at lists.squeakfoundation.org
>  http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list