[aida] aida tutorial

Raymond Asselin asselinraymond at videotron.ca
Sat Jan 24 23:27:25 CET 2009


Aida version 6.0 beta1

Using the tutorial code :

< viewMain

    | e |
    e := WebElement new.
    e addTextH1: 'Carnet d'' adresses'.
    e add: self viewTabComponent.
    e table class: #webGrid.
    self observee adresses do: [:each |
            e cell addText: each nom.
        e newCell addLinkTo: each text: each prenom.
            e newCell addText:  each tel.
        e newCell align: #right; addText:  each courriel.
            e newRow].
    self pageFrameWith: e title: 'Carnet d''adresses' >

I get the result in 'Tutorial AIDA-1.png' .

Adding the table to e :

< viewMain

    | e |
    e := WebElement new.
    e addTextH1: 'Carnet d'' adresses'.
    e add: self viewTabComponent.
    e table class: #webGrid.
    e add: e table.
    self observee adresses do: [:each |
            e cell addText: each nom.
        e newCell addLinkTo: each text: each prenom.
            e newCell addText:  each tel.
        e newCell align: #right; addText:  each courriel.
            e newRow].
    self pageFrameWith: e title: 'Carnet d''adresses' >

I get the result in 'Tutorial AIDA.png'.  This is more what
I want except for the "offshore" table at the right...
I would like to understand how this happen...

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tutorial AIDA-1.png
Type: image/png
Size: 16660 bytes
Desc: not available
Url : http://lists.aidaweb.si/pipermail/aida/attachments/20090124/8cea712f/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tutorial AIDA.png
Type: image/png
Size: 23868 bytes
Desc: not available
Url : http://lists.aidaweb.si/pipermail/aida/attachments/20090124/8cea712f/attachment-0003.png 


More information about the Aida mailing list