This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 18, 2011, 12:22 PM
22 Posts

Issue with Tabs inside xe:dialog

  • Category: Extension Library
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: xe:dialog
  • Replies: 0
I have a cc in an XPage to display a modal dialo. Inside the dialog I want to have a tabbed table. The dialog itself renders without any problems, but I have issues with the tabs inside the dialog
I have tried two different flavours.
 
1) Insert a tabbed panel.
 
This renders normally, but when I triy to switch between tabs, the dialog closes
 
2) Using dojo/dijit
 
I'm using the following code to build the tabs ( this works as expected on an XPage)
 
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
    xmlns:xe="http://www.ibm.com/xsp/coreex" dojoTheme="true"
    xmlns:xc="http://www.ibm.com/xsp/custom" dojoParseOnLoad="true">

    <xp:this.resources>
        <xp:dojoModule name="dijit.layout.TabContainer"></xp:dojoModule>
        <xp:dojoModule name="dijit.layout.ContentPane"></xp:dojoModule>
    </xp:this.resources>
    <xe:dialog id="dlgProperties" title="Document Properties and Access"
        parseOnLoad="true" disableTheme="false" styleClass="soria"
        keepComponents="false">
        <xp:panel style="width:500.0px">
            <div dojoType="dijit.layout.TabContainer"
                style="width: 400px; height: 100px;" tabStrip="true">
                <div dojoType="dijit.layout.ContentPane"
                    title="My first tab" selected="true">
                    Lorem ipsum and all around...
                </div>
                <div dojoType="dijit.layout.ContentPane"
                    title="My second tab">
                    Lorem ipsum and all around - second...
                </div>
                <div dojoType="dijit.layout.ContentPane"
                    title="My last tab">
                    Lorem ipsum and all around - last...
                </div>
            </div>
            <xe:dialogButtonBar>
 
When the dialog opens, I do not see any tab but the tab titles. The same behaviour with TabContainer and TabPane from extLib 853 ( latest release)
 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal