Sortable tree: making elements to contain children

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Sortable tree: making elements to contain children

Sebastian Sastre-2
Hi there,

        is anybody using the Scriptaculous Sortable as tree and is able to
modify its structure completely? By completely I mean to make any element
start to have children.
       
        In the Scriptaculous demo I can modify the tree but I'm unable to
make new "folders" of items. To illustrate just go to scriptaculous demo in
drag & drop. In the sortable tree drag out all the children elements of an
ul like "plants" and after you take out its last children you will be unable
to restore those elements again as children of plant. They will remain
siblings.

        Looking with firebug, when you take the last item in a list it
becomes from ul to just an li the problem is that li should becom ul again
when you drop something on them. I'm missing something?

        thanks,

Sebastian Sastre

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Sortable tree: making elements to contain children

Lukas Renggli
>         Looking with firebug, when you take the last item in a list it
> becomes from ul to just an li the problem is that li should becom ul again
> when you drop something on them. I'm missing something?

http://dev.rubyonrails.org/ticket/7807 (for example, there are others)

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Sortable tree: making elements to contain children

Sebastian Sastre-2
Hi,

        do you know wich version of scriptaculous code is supposed to be
patched whit that?

        I was unable to find which is and I've tested on 1.8.0 without
success.

        Do you use that patch?

        thanks,

Sebastian Sastre


> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Lukas Renggli
> Enviado el: Martes, 05 de Febrero de 2008 14:22
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] Sortable tree: making elements to
> contain children
>
> >         Looking with firebug, when you take the last item
> in a list it
> > becomes from ul to just an li the problem is that li should
> becom ul
> > again when you drop something on them. I'm missing something?
>
> http://dev.rubyonrails.org/ticket/7807 (for example, there are others)
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Sortable tree: making elements to contain children

Lukas Renggli