# File lib_wpm/wpm.rb, line 2902
    def init
      if (form.submit?) then
        form_params = form.params
        action_id = self.action_id

        if (@properties.has_checked?) then
          if (form_params.include? action_id) then
            @properties.checked = true
          else
            @properties.checked = false
          end
        end

        if (@properties.has_selected?) then
          if (form_params.include? action_id) then
            @properties.selected = form_params[action_id]
          end
        end
      end

      nil
    end