# File lib_wpm/wpm.rb, line 3344
    def view
      make_attr_desc{ |attr_desc|
        attr_desc += ' name="' + escapeHTML(action_id) + '"'
        attr_desc += ' size="' + escapeHTML(@properties.size.to_s) + '"' if @properties.has_size?
        yield('<select' + attr_desc + '>')
        for opt_value, opt_label in @properties.list
          opt_label = opt_value unless opt_label
          opt_attr_desc = ' value="' + escapeHTML(opt_value) + '"'
          if (@properties.has_selected? && opt_value == @properties.selected)
            opt_attr_desc += ' selected="selected"'
          end
          yield('<option' + opt_attr_desc + '>')
          yield(escapeHTML(opt_label))
          yield('</option>')
        end
        yield('</select>')
      }

      nil
    end