OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument[/projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Subject
 Dynamic tabs
Categories
 
Posted by
 K A on 07/11/2012 at 09:18 AM
Details

The main tab container has a fixed tab pane (mainTabC)
which contains a panel (panel1)
This panel contains 2 tabcontainers (TabC1 and TabC2)
each having tabpanes that contains datatable, displaying data from a view.

On clicking the first column of datatable in  TabC1
 creates a dynamic tab pane in the main tabcontainer (maintabC2).
It uses include page to display the details of the document selected.

A save button on this xpage saves the document +
closes the opened tab pane (maintabC2) and refresh the panel1.
In short the button should save the opened document and also refresh tabC1 and TabC2 contents.
It does save the document and refreshes the tabC1 and tabC2
but removes the tabs on the top,
adds the menubar, sliderbar on the top and
concatenates the datatables in each tabC1 and TabC2.


MainTabC                                            MainTabC2
Panel1                                                  Save Button (Savesdoc and refreshes panel1)
TabC1                   TabC2
2 tabs                    3 tabs
each having a     each having a
datatable              datatable



Result

MainTabC            
Panel1                
TabC1                    TabC2
concatenates        concatenates
datatable                datatable


Can you please suggest how to get rid of the menu and scroll bar and display the tabs back with the datatable in them.

Modification history
Entered 11-Jul-2012 9:18 by K A. Last Modified <none> by Niklas Heidloff.
Feedback

(K A on 07/11/2012 09:18:45 AM )
Check out other projects


Anonymous