Web controls for Seaside

J J azreal1977 at hotmail.com
Tue Jun 19 16:53:04 UTC 2007


Wow!  Yes of course this is interesting!  I cant wait to see it.Date: Fri, 15 Jun 2007 14:59:37 -0300From: juan.burella at gmail.comTo: squeak-dev at lists.squeakfoundation.org; seaside at lists.squeakfoundation.orgSubject: Web controls for SeasideIn order to ease the work with our web application  we have added component support for Seaside. It's what is called "AJAX Framework" out there, although we preferred not to call it "framework" nor toolkit by now. Much of the ideas of this package are based on WindowBuilder Pro, a commercial window builder that enables visual programming.  
Right now we have support for most common web controls (TextField, Panel, RadioButton, TextArea, Label, Button, Anchor, CheckBoxGroup, RadioButtonGroup, ListBox, FieldSet) and we are working on a builder tool for generate Seaside components (pages) dinamically. We call it SeasideBuilder.  
Using our package, for example, if you want to specify a ListBox of countries you have to (without the builder):>>countryControl    "Private - Answer a ListBox with the countries. If panes not includes it then this is added"  
    ^self          paneNamed: #countryList        ifNonePut: [ (SFListBox new)                        printSelector: #viewerString;                        styleClass: 'large';                        items: self countries;  
                        label: 'País';                        layout: self layout;                        addItem: nil labelFrom: 'Ninguno';                        when: #selectedChanged  

                             send: #selectedItem                            to: self;                        yourself]and it's rendered with:>>renderContentOn: html      "Private - Render the receiver"  
        html render: self countryControlWith the builder you'll have to pick the control you want, configure properties, preview if you want it, and finally add to a page layout tree. When the tree is already configured properly, code for the rendering and controls is compiled into the class, along with tree support for future editing with the tool, although this is under heavy developement.  
Maybe this work could be interesting for someone out there. If so,  we'd have to ask our institution for permission to release a public version under an appropiate licensing (GPL, LGPL, BSD, etc).  Juan M. Burella, Hernán Morales and Norberto Manzanos, CAICYT  
http://www.caicyt.gov.ar

_________________________________________________________________
Make every IM count. Download Windows Live Messenger and join the i’m Initiative now. It’s free.  
http://im.live.com/messenger/im/home/?source=TAGWL_June07
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070619/bae0aadc/attachment.htm


More information about the Squeak-dev mailing list