I try to use my
floating pane custom control from OpenNTF in a tab container using the latest extlib. The floating pane itself works on an xpage and I can have multiple controlson a page without any problem.
But I cannot get it to work on the tabpane.
Here is my sample:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
style="padding-left:px;padding-right:px;padding-top:px"
xmlns:xe="http://www.ibm.com/xsp/coreex"
xmlns:xc="http://www.ibm.com/xsp/custom">
<xe:djTabContainer id="djTabContainer1" tabPosition="top"
style="width:98%; height:600px; margin:5px;" tabStrip="true"
title="test" defaultTabContent="doc">
<xe:djTabPane id="djTabPane1" title="tab1" tabUniqueKey="1">
<xc:ccFloatingPane prop_width="100" prop_height="100"
prop_top="0" prop_left="0" prop_closeable="true"
prop_resizable="true" prop_dockable="false" prop_maxable="false"
prop_duration="100" prop_resizeAxis="xy" prop_minimized="false"
prop_id="box1">
</xc:ccFloatingPane>
<xp:label value="TEST1" id="label1"></xp:label>
</xe:djTabPane>
<xe:djTabPane id="djTabPane2" title="tab2" tabUniqueKey="2">
<xc:ccFloatingPane prop_width="100" prop_height="100"
prop_top="100" prop_left="300" prop_closeable="true"
prop_resizable="true" prop_dockable="false" prop_maxable="false"
prop_duration="100" prop_resizeAxis="xy" prop_minimized="false"
prop_id="box2">
</xc:ccFloatingPane>
<xp:label value="TEST2" id="label21"></xp:label>
</xe:djTabPane>
</xe:djTabContainer>
</xp:view>
When the page opens, I can see the floating pane on the first tab. When I open tab 2 there is no floating pane to see; only the label ( TEST2 )
When I go back to tab1, the floating pane has lost the width and height attributes.
Anyone an idea how to get this to work?