aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI
diff options
context:
space:
mode:
authorwreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-07-31 12:06:05 +0000
committerwreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-07-31 12:06:05 +0000
commitfff7579c4333dc543b987f447b454772a8abe28f (patch)
treea03797b7e29d5d307949bbbd990737be577bd33e /lib/ComponentUI
parent463e51d0379bb139a9d5de856756b21655e6a259 (diff)
downloadreaction-fff7579c4333dc543b987f447b454772a8abe28f.tar.gz
reaction-fff7579c4333dc543b987f447b454772a8abe28f.zip
working example on ComponentUI
Diffstat (limited to 'lib/ComponentUI')
-rw-r--r--lib/ComponentUI/Controller/TestModel/Bar.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ComponentUI/Controller/TestModel/Bar.pm b/lib/ComponentUI/Controller/TestModel/Bar.pm
index 4859b7d..c649d78 100644
--- a/lib/ComponentUI/Controller/TestModel/Bar.pm
+++ b/lib/ComponentUI/Controller/TestModel/Bar.pm
@@ -12,6 +12,9 @@ __PACKAGE__->config(
ViewPort => {
enable_order_by => [qw/name foo published_at/],
coerce_order_by => { foo => ['foo.last_name', 'foo.first_name'] },
+ layout => 'bar/collection',
+ member_class => 'Reaction::UI::ViewPort::Object',
+ Member => { layout => 'bar/member' }
}
}
},