[Scriptaculous] Conditional drag?

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

[Scriptaculous] Conditional drag?

Boris Popov, DeepCove Labs (SNN)
I was wondering (but couldn't find any examples) if its possible to
configure sortable to allow dragging of all elements except last one. I
need to ensure that at least one remains in the list. Is there a generic
pattern for such things?

Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

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

RE: [Scriptaculous] Conditional drag?

Boris Popov, DeepCove Labs (SNN)
Oh well, I'll just have it the way it is for now. Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: Lukas Renggli [mailto:[hidden email]]
Sent: Monday, November 27, 2006 1:55 PM
To: Boris Popov
Cc: The Squeak Enterprise Aubergines Server - general discussion.; Lukas
Renggli
Subject: Re: [Scriptaculous] Conditional drag?

> I was wondering (but couldn't find any examples) if its possible to
> configure sortable to allow dragging of all elements except last  
> one. I
> need to ensure that at least one remains in the list. Is there a  
> generic pattern for such things?

I don't see a solution out of the box. Maybe ask google if anybody  
did something like that?

I learned in the past is that Sortables are only useful for very  
basic lists. Unfortunately their limit in form of performance,  
features and usability is reachable very soon. For a commercial  
project I found myself implementing sortable lists already several  
times, as I could not make the shipped one behave exactly the way I  
wanted.

Lukas

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


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside