• Anonymous
  • Login
  • Register
XPages Extension Library - Discussion: Dynamic tabs

Created on Jul 11, 2012
Created by K A
Status
Open

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.




In this field you can enter the actual discussion topic.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.