[Seaside] Seaside.WATree expand and element position
renggli at gmail.com
Thu May 18 21:15:51 UTC 2006
> (component isKindOf: WATree)
> [html div
> style: 'height: 200px; width: 200px; overflow: scroll';
> with: ( component renderTreeOn: html )]
> ifFalse: [html render: component].
Remove "renderTreeOn: html", you should never all render methods of
other components. And since this method returns the component, it is
> B) Second problem : tree position
> Now then rendering one WATree it start always to root of the tree ;
> or to one specific node with lose of upper hierrarchy.
> My question is :
> is possibol display the WATree positioned on one specific node with
> upper and under hierarchy ?
> or render WATree to the last position node select with upper an
> under hierarchy ?
Yes, but it is probably not simple and certainly involves changing the
script.aculo.us and a scroll-to effect.
More information about the Seaside