diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-02-12 01:12:12 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-02-12 01:12:12 +0000 |
commit | baee102d2189942f509b43d703d74e4e21c64403 (patch) | |
tree | 9106a80ba97161ac8a56b1675cad464b1dfd105e /lib/Reaction/UI/ViewPort/Collection | |
parent | cf6fb234d0c47cf05376d6724a401ff8400e3ba5 (diff) | |
download | reaction-baee102d2189942f509b43d703d74e4e21c64403.tar.gz reaction-baee102d2189942f509b43d703d74e4e21c64403.zip |
use MooseX::Types::Common and MooseX::Types::DateTime
Diffstat (limited to 'lib/Reaction/UI/ViewPort/Collection')
-rw-r--r-- | lib/Reaction/UI/ViewPort/Collection/Grid/Member.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Reaction/UI/ViewPort/Collection/Grid/Member.pm b/lib/Reaction/UI/ViewPort/Collection/Grid/Member.pm index 02629a2..abea20f 100644 --- a/lib/Reaction/UI/ViewPort/Collection/Grid/Member.pm +++ b/lib/Reaction/UI/ViewPort/Collection/Grid/Member.pm @@ -41,6 +41,19 @@ around _build_fields_for_type_Reaction_Types_Core_Password => sub { return }; around _build_fields_for_type_ArrayRef => sub { return }; around _build_fields_for_type_Reaction_InterfaceModel_Collection => sub { return }; +#The types we'll be using going forward ... +around _build_fields_for_type_MooseX_Types_Common_String_Password => sub { return }; +around _build_fields_for_type_MooseX_Types_Common_String_SimpleStr => sub { + $_[0]->(@_[1,2], { layout => 'value/string', %{ $_[3] || {} } }) +}; +around _build_fields_for_type_MooseX_Types_DateTime_DateTime => sub { + $_[0]->(@_[1,2], { layout => 'value/date_time', %{ $_[3] || {} } }) +}; +around _build_fields_for_type_DateTime => sub { + $_[0]->(@_[1,2], { layout => 'value/date_time', %{ $_[3] || {} } }) +}; + + __PACKAGE__->meta->make_immutable; |