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:24:38 UTC
svn commit: r1566840 - /myfaces/site/cms-site/trunk/lib/view.pm
Author: lu4242
Date: Mon Feb 10 23:24:38 2014
New Revision: 1566840
URL: http://svn.apache.org/r1566840
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=1566840&r1=1566839&r2=1566840&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Mon Feb 10 23:24:38 2014
@@ -58,7 +58,6 @@ sub single_narrative {
my $headerKey = substr($key, 4);
my $command = ${args{headers}}->{$key};
# TODO: parse parameter here
- $args{$headerKey} = "hello! $command";
if ($command eq "pagetree") {
my($ptfile, $ptdir, $ptext) = fileparse($args{path}, qr/\.[^.]*/);
my $basePath = "$ptdir$ptfile";
@@ -218,7 +217,7 @@ sub sitemapFind {
$rel .= ".mdtext" ;
$entries->{"entries"}->{$rel} = {};
if ($level <= -1) {
- sitemapFind($item, $entries->{"entries"}->{$rel});
+ sitemapFind($item, $entries->{"entries"}->{$rel}, -1);
}
elsif ($level > 0){
sitemapFind($item, $entries->{"entries"}->{$rel}, $level - 1);