title: Are tabs with their own sidebars and mainPanels possible in shiny?
body: <p>I would like to display different inputs for different tabs. So I tried to build a page with several tabPanels. However, I can't have sth like below:</p>
  
  <pre><code>library(shiny)
  
  shinyUI(pageWithSidebar(
    headerPanel("Header"),
  
    tabsetPanel(
      tabPanel(
        headerPanel("Tab 1"),
        sidebarPanel(
          selectInput("var", "Parametre", choices = c("1", "2", "3"))
          ),
        mainPanel(
          textOutput("text1")
          )
        ),
      tabPanel(
        headerPanel("Tab 2"),
        sidebarPanel(
          selectInput("var", "Parametre", choices = c("21", "22", "23"))
        ),
        mainPanel(
          textOutput("text2")
        )
      )
      )
    ))
  </code></pre>
  
  <p>I suspect that the <code>pageWithSidebar</code> is causing the problem, but I couldn't find an alternative in google groups. Is there a way to display several tabs with their own sidebars and mainPanels, or shall I create different apps for this purpose?</p>