# File lib/cgikit/command.rb, line 270
  def set_all_controls( submit )
    @command.path_info = HTMLElement.path_info(@attributes[:action])
    @controls.each do |control|
      if (HTMLSubmit === control) and (control != submit) then
        next
      elsif control.set_value? then
        unless @command.form_values.has_key?(control[:name]) then
          @command.form_values[control[:name]] = []
        end
        control.set_value_to_form_values(@command.form_values)
      end
    end
  end