aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/Controller/TestModel/Baz.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ComponentUI/Controller/TestModel/Baz.pm')
-rw-r--r--lib/ComponentUI/Controller/TestModel/Baz.pm12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/ComponentUI/Controller/TestModel/Baz.pm b/lib/ComponentUI/Controller/TestModel/Baz.pm
index 2fece5a..6c88792 100644
--- a/lib/ComponentUI/Controller/TestModel/Baz.pm
+++ b/lib/ComponentUI/Controller/TestModel/Baz.pm
@@ -2,6 +2,7 @@ package ComponentUI::Controller::TestModel::Baz;
use base 'Reaction::UI::Controller::Collection::CRUD';
use Reaction::Class;
+use ComponentUI::UI::ViewPort::Baz::ListView::Member;
__PACKAGE__->config(
model_name => 'TestModel',
@@ -10,7 +11,16 @@ __PACKAGE__->config(
base => { Chained => '/base', PathPart => 'testmodel/baz' },
list => {
ViewPort => {
- enable_order_by => [qw/id name/],
+ enable_order_by => [qw/id name bool_field description/],
+ member_class => 'ComponentUI::UI::ViewPort::Baz::ListView::Member',
+ Member => {
+ Field => {
+ description => {
+ max_length => 40,
+ layout => 'value/string',
+ },
+ },
+ },
},
},
},