--- trunk/lib/Frey/ObjectBrowser.pm 2008/07/10 20:00:54 89 +++ trunk/lib/Frey/ObjectBrowser.pm 2008/07/11 09:25:02 93 @@ -91,6 +91,9 @@ body => [ h1 => [ 'Strix::User' ], $layout eq 'table' ? + # gen_link doesn't work since Widngets have it's own scope of layout +# gen_link( 'div layout', sub { $layout = 'div' } ) : +# gen_link( 'table layout', sub { $layout = 'table' } ), qq|div layout| : qq|table layout|, form => { method=>'post' } => [ @@ -98,12 +101,16 @@ ], ], ] - ); + )->to_string; - $req->print( $doc->to_string ); + warn ">>> $layout ",length( $doc ),"\n"; + + $req->print( $doc ); $req->next; $f = { $req->params }; + + process_links( $req ); } warn "NO WAY OUT!";