[Seaside] Re: WATree redraw

Lukas Renggli renggli at gmail.com
Tue Jun 3 21:38:06 UTC 2008


>  competencyTree := SUTreeReport  new
>         roots: (Array with: (IFIModels competency: 6));
>         children: [ :competency | IFIModels linksTo: competency ];
>         addColumn: [ :competency | [:html  | (html anchor)
>                 navigation;
>                 attributeAt: 'title' put: competency title;
>                 callback: [self selectCompetency: competency];
>                 with: (competency title truncateWithElipsisTo: 50) ]]
>            label: 'Notions';
>         yourself

Well, you can also use a simple AJAX updater action.

html anchor
     onClick: (html updater
         id: 'nameOfDiv'l;
         callback: [ :r |
             self selectComp: comp.
             self renderComOn: r ];
         with: comp title

Cheers,
Lukas

>
>
>  _______________________________________________
>  seaside mailing list
>  seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list