# File lib/cgikit/element.rb, line 156
  def value( name, does_resolve = true )
    if as = @associations[name] then
      if does_resolve then
        as.value(root)
      else
        as.value
      end
    else
      if api and api[name] then
        api[name].default(root)
      else
        nil
      end
    end
  end