[Seaside] drag&drop position

Lukas Renggli renggli at gmail.com
Sat Aug 30 10:22:27 UTC 2008


Check out the prototype/scriptaculous documentation, and the source
code of these libraries if you didn't find an answer yet.
Alternatively FireBug can tell you what kind of properties are
available for a given object.

Cheers,
Lukas

On 8/30/08, Yves Renaud <yvesrenaud at ymail.com> wrote:
> Hello,
>
> I´m new to Seaside and have a question about drag&drop:
> I would like to save the position of where a item has been dropped by the
> user.
> I´ve got a droppable and know from the mailing-list, that something like:
> onDrop: (html request
>         callback: [:p | self savePosition: p ]
>         value: (html element
>             alias: 'arguments';
>             property: 1;
>             access: 'offsetTop'))
> whould work. But I allready use a onDrop: with an updater. How to combine
> both?
> When I use this onDrop: (html request...) the value I get is always the
> same, Is there al list of all values that can be recieved via acess:? Is
> there a documentation available? The methode comments are very rare.
> So, how to get the position where an item has been dropped?
>
> Thanks in advance
> Bye
> Yves
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
> gegen Massenmails.
> http://mail.yahoo.com
> _______________________________________________
>  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