[Seaside] Seaside.WATree expand and element position
Dario Trussardi
dtrussardi at tiscali.it
Fri May 19 12:47:31 UTC 2006
Hi Lukas,
thanks for your indication.
I have add note in bold .
> (component isKindOf: WATree)
> ifTrue:
> [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
displayed twice.
OK BUT WHAT DO I USE ?
When use [ html render: component] i see normall view; not in div space with scroll bar.
> 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
implementation of WATree. You could do it using JavaScript, e.g. with
script.aculo.us and a scroll-to effect.
Where i found dettail information and example about this ?
Thanks & Regards,
Dario Trussardi Romano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060519/4dfb0e88/attachment.htm
More information about the Seaside
mailing list