Re: Same Composite widget instances displayed in two deckpanels?
Quantum physics allows for something being in two places at once. I don't think there are any plans to develop a version of GWT that allows this. Sorry. Nice idea, though.
Ian
http://examples.roughian.com
2009/11/1 Péter Kovács <peter.dunay.kovacs@gmail.com>
What is Quantum-GWT? (Goolge search returns no helpful result for a
search expression like this.)
Thanks
P.
On Sat, Oct 31, 2009 at 8:33 PM, Ian Bambury <ianbambury@gmail.com> wrote:
> 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 <argold-nospam@comcast.net>
>>
>> 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 google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home