title: Accessing parent namespace inside a Shiny Module
body: <p>I'm trying to <code>updateSelectInput</code> on a selectInput from the parent namespace inside a sub-module. In the module function, I'm inside the namespace as far as I understand, and therefore I can't access and update the selectInput from the parent namespace. How can I solve this?</p>
  
  <pre><code>library(shiny)
  library(shinydashboard)
  
  moduleUI &lt;- function(id) {
    ns &lt;- NS(id)
    box(
      title=actionLink(ns("link"),"This is a link"),
      plotOutput(ns("plot"))
    )
  }
  
  module &lt;- function(input, output,session,number) {
    output$plot &lt;- renderPlot({
      plot(number)
    })
  
    observeEvent(input$link,{
      print(paste0("Number is: ",number))
      updateSelectInput(session,"selectInput",selected=number)  #Doesn't work
    })
  }
  
  ui &lt;-  
    dashboardPage(
      dashboardHeader(title="Title"),
      dashboardSidebar(
        selectInput("selectInput","Choose one option",choices=seq(1,10),selected=1)
      ),
      dashboardBody(
        moduleUI("5"),
        moduleUI("10")
      )
    )
  
  server &lt;- function(session,input, output) {
    callModule(module=module,id="5",5)
    callModule(module=module,id="10",10)
  }
  
  shinyApp(ui = ui, server = server)
  </code></pre>