From fff7579c4333dc543b987f447b454772a8abe28f Mon Sep 17 00:00:00 2001 From: wreis Date: Fri, 31 Jul 2009 12:06:05 +0000 Subject: working example on ComponentUI --- lib/ComponentUI/Controller/TestModel/Bar.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ComponentUI') 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' } } } }, -- cgit v1.2.3-54-g00ecf