switch over to sub style from AUTOLOAD style (Widget transition)
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Value / List.pm
index 638cbfb..89598d8 100644 (file)
@@ -3,9 +3,9 @@ package Reaction::UI::Widget::Value::List;
 use Reaction::UI::WidgetClass;
 
 class List, which {
-  widget renders [ qw/list/ =>  { viewport => func(self => 'viewport') } ];
-  list   renders [ item over func('viewport', 'value_names') ];
-  item   renders [ string {""} ], { value => $_ };
+  fragment widget [ qw/list/ ];
+  fragment list   [ item => over func('viewport', 'value_names') ];
+  fragment item   [ string {""} ], { value => $_ };
 };
 
 1;