# File lib/cgikit/elements/switcher.rb, line 15
  def begin_context( context )
    take_value_once(:component)
    context.increment
    unless @switch then
      page = context.session.restore_page(context.context_id)
      if page == root then
        @switch = application.page(@values[:component], context)
        @switch.parent = root
      else
        @switch = page
      end
      @switch.node = @node
      @switch.declaration_name = @name
      @switch.awake_from_restroration(context)
    end
    @switch.begin_context(context)
  end