From: Mike Taylor Date: Tue, 17 Jul 2007 13:07:57 +0000 (+0000) Subject: Generate client-area text before emitting scaffolding, so that actions X-Git-Tag: CPAN-v1.02~360 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=d4baae06246f4218bcd30b8b8c91a0b862408db7;ds=sidebyside Generate client-area text before emitting scaffolding, so that actions such as creating a new record can have side-effects that modify the menus. --- diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index 972b9c6..b99cb80 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -1,4 +1,4 @@ -%# $Id: layout.mc,v 1.37 2007-07-16 11:55:57 mike Exp $ +%# $Id: layout.mc,v 1.38 2007-07-17 13:07:57 mike Exp $ <%args> $debug => undef $title @@ -15,6 +15,7 @@ use ZOOM::IRSpy::Utils qw(utf8param isodate xml_encode cql_target cql_quote bib1_access_point); % $r->content_type("text/html; charset=utf-8"); +% my $text = $m->scomp($component, %ARGS);   -<& $component, %ARGS &> +% print $text;