You can only have an object in one place at a time. If you put your car-keys
in your pocket and then put them on the table, they are no longer in your
pocket.

In your code you are putting the 'card' in the story panel, then putting it
in the chrono panel. Therefore it is now no longer in the story panel. GWT
will remove it from the story panel to avoid an error.

As in life, you can't have something in different places at the same time
(at least, not until Quantum-GWT is released)

If you want a duplicate then you will need to create 2 of them. If you have
an event bus, you can keep them in sync by getting them to fire off events
that allow the other instances to update themselves if they are not the
instigator.

Ian

http://examples.roughian.com


2009/10/31 ARGold <[email protected]>

>
>                storyPanel.add(card);
>                //storyDragController.makeDraggable(card, card.cardHeader);
>
>                chronoPanel.add(card);
>                //chronoDragController.makeDraggable(card, card.cardHeader);
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to