[Dojo-interest] Drag and Drop objects built dynamically

Rogerio Pereira rogerio.araujo at gmail.com
Mon Aug 21 12:40:48 MDT 2006


Take a look on my drag and drop stuff at
http://www.canaljava.com.br/test-morefaces/

This is JSF based approach of Dojo DND.

2006/8/4, Barbara McClatchey <bemcclatchey at fedex.com>:
>
>  If someone can help with this, I would be extremely grateful.  I'm trying
> to build a dynamic array of images where each will be draggable onto a
> shopping cart.  For example, I want a certain pane to contain my images
> built from an external data source that can then be dropped onto a shopping
> cart.  I have drag and drop working, but am having trouble building an array
> of draggables when my page loads.
>
> Pseudocode:
>
> onLoad:
>     get list of images from a directory
>     create draggables of each image
>     display each image on the screen
>     create a droppable shopping cart
>
> Functionality:
>     allow each item to be dragged to the cart, removed from the cart, or
> empty the entire cart
>
> I am new to dojo, but have read a lot of the documentation.  I'm still not
> sure how to accomplish this.  If you can point me to an example of building
> a list of draggables from an external source, I would really appreciate it.
> I want to display the images as the draggable item, not text.
>
> Thanks!
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
>


-- 
Yours truly (Atenciosamente),

Rogério (_rogerio_)
http://faces.eti.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20060821/31669238/attachment.html


More information about the Dojo-interest mailing list