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/08 06:19:10 UTC
svn commit: r1565921 - in /myfaces/site/cms-site/trunk:
content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext lib/view.pm
Author: lu4242
Date: Sat Feb 8 05:19:10 2014
New Revision: 1565921
URL: http://svn.apache.org/r1565921
Log:
test how to fix documentation
Modified:
myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext
myfaces/site/cms-site/trunk/lib/view.pm
Modified: myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext?rev=1565921&r1=1565920&r2=1565921&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext (original)
+++ myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext Sat Feb 8 05:19:10 2014
@@ -1,5 +1,7 @@
Title: JSF and MyFaces Howtos
Pagetree: children
+set_section1: head1
+set_section2: head2
Below you can find solutions to common problems in JSF and MyFaces
Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1565921&r1=1565920&r2=1565921&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb 8 05:19:10 2014
@@ -46,18 +46,13 @@ sub single_narrative {
# callback
my $ttitle = "";
foreach my $key (keys %{ ${args{headers}} }) {
- $ttitle .= "$key,";
+ my $hindex = index($key, "set_" );
+ if ($hindex == 0) {
+ $ttitle .= "$key,";
+ }
}
$args{ttitle} = $ttitle;
- # my $evalList = ${args{headers}}{callbacks};
- # if ($evalList) {
- # my @values = split(',', $evalList);
- # foreach my $val (@values) {
- #
- # }
- # }
-
# render sitemap stuff
my $pagetree = ${args{headers}}{pagetree};
if ($pagetree) {