NAME

Reaction::UI::ViewPort::Object::Mutable - Allow the user to to perform an InterfaceModel Action

SYNOPSIS

  use aliased 'Reaction::UI::ViewPort::Object::Mutable';

  ...
  $controller->push_viewport(Mutable,
    model => $interface_model_action,
  );

DESCRIPTION

This subclass of Reaction::UI::ViewPort::Object is used for rendering a collection of Reaction::UI::ViewPort::Field::Mutable::* objects for user editing.

ATTRIBUTES

model

Reaction::InterfaceModel::Action

METHODS

is_modified

Returns true if any of the fields has been modified.

INTERNAL METHODS

The builder methods are resolved in the same way as described in Reaction::UI::ViewPort::Object, but they create Reaction::UI::ViewPort::Field::Mutable objects.

Mutable Field Types

Text, Array, String, Number, Integer, Boolean, Password, DateTime, ChooseOne, ChooseMany, Files

_build_fields_for_type_Num

_build_fields_for_type_Int

_build_fields_for_type_Bool

_build_fields_for_type_Reaction_Types_Core_SimpleStr

_build_fields_for_type_Reaction_Types_File_File

_build_fields_for_type_Str

_build_fields_for_type_Reaction_Types_Core_Password

_build_fields_for_type_Reaction_Types_DateTime_DateTime

_build_fields_for_type_Enum

_build_fields_for_type_DBIx_Class_Row

_build_fields_for_type_ArrayRef

SEE ALSO

Reaction::UI::ViewPort::Object

Reaction::UI::ViewPort

Reaction::InterfaceModel::Action

AUTHORS

See Reaction::Class for authors.

LICENSE

See Reaction::Class for the license.