[Dojo-interest] Issues with the multiple TreeV3 on the same page.

Tanvir Refai trefai at bop.gov
Fri Feb 23 08:45:47 MST 2007


I amd displaying mutiple trees on the 2 different tabs on the page. The tree on the last tab  works but on the previous tab I am getting the following error:

"Can't move focus to the control because it is invisible,not enable or of the type that does not accept focus"

The code is as follows:
<div dojoType="TabContainer" id="groupsTabContainer" label="Groups" selectedTab="addgroup">
<div  id="addgroup" dojoType="SplitContainer" orientation="horizontal" sizerWidth="5" activeSizing="0" style="width: 100%; hight: 100%; padding: 5px; display: none" label="Add group">
<div dojoType="TreeLoadingControllerV3"  widgetId="addGroupController"></div>
   <div dojoType="TreeSelectorV3" widgetId="addGroupSelector"></div>
   <div dojoType="TreeV3" widgetId="addGroupTreeWidget" listeners="addGroupController;addGroupSelector" >
    <div dojoType="TreeNodeV3" title="SYSDVLP" objectId="1" widgetId="1" isFolder="true">
          <div dojoType="TreeNodeV3" title="andy" objectId="2" widgetId="2" isFolder="true">
          </div>
     </div>
</div>
</div>
<div id="delgroup" dojoType="SplitContainer" orientation="horizontal" sizerWidth="5" activeSizing="0" style="width: 100%; hight: 100%; padding: 5px; display: none" label="Edit/Delete Group">
<div dojoType="TreeLoadingControllerV3" widgetId="editGroupController"></div>
   <div dojoType="TreeSelectorV3" widgetId="editGroupSelector"></div>
   <div dojoType="TreeV3" widgetId="editGroupTreeWidget" listeners="editGroupController;editGroupSelector" >
    <div dojoType="TreeNodeV3" title="SYSDVLP" objectId="1" widgetId="1" isFolder="true">
          <div dojoType="TreeNodeV3" title="andy" objectId="2" widgetId="2" isFolder="true">
          </div>
     </div>
</div>
</div>
</div>

If I use the old version of tree then it works. Please help.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070223/0dcfee50/attachment.html


More information about the Dojo-interest mailing list