[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136293#comment-15136293
 ] 

Hervé Boutemy commented on DOXIASITETOOLS-93:
---------------------------------------------

I like this one:
{code}We have the following keys in the context:
#foreach( $key in $sorter.sort( $context.keys ) )
  $display.printf( "%2s", ${foreach.count} ). $key
#end{code}

will add it to 
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm

> request-scoped default Velocity Tools are not accessible
> --------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-93
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-93
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>    Affects Versions: 1.6
>            Reporter: Hervé Boutemy
>            Assignee: Michael Osipov
>             Fix For: 1.7
>
>
> only application scoped are available: $esc, ...
> nut not $context, for example
> see 
> http://svn.apache.org/viewvc/velocity/tools/tags/2.0/src/main/java/org/apache/velocity/tools/generic/tools.xml?view=markup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to