Hi, 

 Finally I found a solution for both problems fighting with the code and 
the panel distribution. I leave the solutions just in case:


   - For problem #1: I can leave any Horizontal Panel over the headers and 
   they are not re-placed automatically into any tab or vertical list:
   - Here the problem was that following some examples, I configured the 
      whole windows as droppable using the object 
      'AbsolutePositionDropController'. It was not needed because I already 
used 
      'VerticalPanelDropController' for the area where I wanted to leave each 
row.
   


   - For problem #2:  I can not place there any other Horizontal Panel 
   coming from other tab because the container Vertical Panel is empty
      - In this case, I had to customize the class 
      
TabSelectingDropController.java<http://code.google.com/p/gwt-dnd/source/browse/DragDrop/demo/com/allen_sauer/gwt/dnd/demo/client/example/resetcache/TabSelectingDropController.java>.
 
      Now, at onDrop(), I explore the TabPanel and I leave the row in the 
      proper widget, that was not done in the original implementation of the 
      class, it required a absolute panel to leave the draggable widget and it 
      didn't fit with my requirement.
   


 Cheers.
 David Torralbo

El lunes, 12 de noviembre de 2012 16:11:47 UTC-5, David Torralbo escribió:
>
>  Hi,
>
>  This is not reporting of an issue, but looking for advise to fine tuning 
> my app.
>
>  I am using gwt-dnd lib to create a List of Horizontal Panels that should 
> be draggable in vertical way and also draggable from one tab to an other 
> within a Tab Panel. You can see an example here:
>
> http://dndexample.appspot.com/
>
>
>  I got two problems that I'd like to fine tuning in any manner:
>
>  1 - Because of the Header of each table (that is not draggable so it is 
> places in a different Vertical Panel), I can leave any Horizontal Panel 
> over the headers and they are not re-placed automatically into any tab or 
> vertical list. The idea is not to allow to place in other place than in any 
> table of each Tab.
>
>  2 - If there is not any Horizontal Draggable Panel yet in one of the 
> tabs, I can not place there any other Horizontal Panel coming from other 
> tab because the container Vertical Panel is empty, even if it was 
> initialized and registered as Drop controller.
>
>
>  Any tip is more than welcome.
>
>
>  Cheers.
>  David Torralbo
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/FYxRbFfSl0MJ.
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