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?