title: Using same output ID on different tabs in shiny
body: <p>I am new in R and R shiny but I have a shiny tool where I would like to call a box output element on two other tabs in the dashboardBody. However, because shiny only allows the use of unique IDs, I am trying to use shiny modules to overcome this. However, after creating my UI and Server, the element does appear on one menuItem but I still cannot figure out why it does not appear on the other menuItems.</p>
  <p>Here is the code I used hoping it will display the output element on the second menuItem;</p>
  <pre><code>ui &lt;- settingsUI ('prog_vs_real_radio_week_month1') #here is the ID I intend to call on the second menu item
  server &lt;- function(input, output, session) {
  settingsServer('prog_vs_real_radio_week_maand1', prog_vs_real_radio_week_month ,  type = 'occupancy')} #occupanycy here is the id of the menuItem where I will want to have the box outputelement 
  </code></pre>
  <p>Here is the entire code for the module I came up with;</p>
  <pre><code>settingsUI &lt;- function(id) {
    tagList(
     box(NS(id)),
     box(NS(id, &quot;prog_vs_real_radio_week_month&quot;))
  )
  }
    
  settingsServer &lt;- function(id, prog_vs_real_radio_week_month, type) {
     moduleServer(id, function(input, output, session) {
        output$prog_vs_real_radio_week_month &lt;- renderUI({
           filter(menuItem == type)
           conditionalPanel(
                condition = paste('input.difficulty &gt;=', 
                                    difficulty$prog_vs_real_weergave),
                box(
                  title = &quot;Weergave&quot;, width = 3,
                  uiOutput('prog_vs_real_radio_week_month')
                  )
                )
            })
        })
    }
  
  ui &lt;- settingsUI ('prog_vs_real_radio_week_month1')
  server &lt;- function(input, output, session) {
  settingsServer('prog_vs_real_radio_week_month1', prog_vs_real_radio_week_month ,  type = 'occupancy')}
  </code></pre>