You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/11 00:19:39 UTC

svn commit: r1566833 - /myfaces/site/cms-site/trunk/lib/view.pm

Author: lu4242
Date: Mon Feb 10 23:19:38 2014
New Revision: 1566833

URL: http://svn.apache.org/r1566833
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/lib/view.pm

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1566833&r1=1566832&r2=1566833&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Mon Feb 10 23:19:38 2014
@@ -56,9 +56,9 @@ sub single_narrative {
         my $hindex = index($key, "set_" );
         if ($hindex == 0) {
             my $headerKey = substr($key, 4);
-            my $command = trim(${args{headers}}{$headerKey});
+            my $command = trim(${args{headers}}->{$headerKey});
             # TODO: parse parameter here
-            $args{$headerKey} = "hello!";
+            $args{$headerKey} = "hello! $command";
             if ($command eq "pagetree") {
                  my($ptfile, $ptdir, $ptext) = fileparse($args{path}, qr/\.[^.]*/);
                  my $basePath = "$ptdir$ptfile";