1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    15
    Vote Rating
    0
    lmcadory is on a distinguished road

      0  

    Default Uibinder for drag and drop

    Uibinder for drag and drop


    Hopefully this isn't a dumb question.

    I wanted to know how to use droptarget with uibinder? I'm trying to combine the borderlayout uibinder example with the basic dnd example. I trying to place the dragable items to the center layout and make the west layout the droptarget. I'm very new to uibinder and am having trouble. I imported the package the holds DropTarget and just added it under the west layout under the SimpleContainer like so:

    Code:
    <container:SimpleContainer>
       <container:child layoutData="{outerData}">
         <container:BorderLayoutContainer ui:field="con" borders="true">
           <container:north layoutData="{northData}">
             <gxt:ContentPanel />
           </container:north>
           <container:west layoutData="{westData}">
             <dnd:DropTarget /> 
             <gxt:ContentPanel />
           </container:west>
           <container:center layoutData="{centerData}">
             <gxt:ContentPanel headingText="BorderLayout UiBinder Example" resize="false">
               <g:FlexTable />
             </gxt:ContentPanel>
           </container:center>
           <container:east layoutData="{eastData}">
             <gxt:ContentPanel />
           </container:east>
           <container:south layoutData="{southData}">
             <gxt:ContentPanel />
           </container:south>
         </container:BorderLayoutContainer>
       </container:child>
     </container:SimpleContainer>
    When I run it, it doesn't build anything. Is it even possible to use droptarget in uibinder?

  2. #2
    Sencha User
    Join Date
    May 2012
    Posts
    15
    Vote Rating
    0
    lmcadory is on a distinguished road

      0  

    Default


    I figured it out. I had to had another container, one for the source and one for the droptarget. I removed the DropTarget from the container. That didn't do anything.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi