forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miroslav Mocek <mmo...@seznam.cz>
Subject Re: using DirectoryGenerator (Was: Using XML db as the source of xml files)
Date Thu, 06 Oct 2005 11:12:55 GMT
Yeah, it was not. ('I've created subdir "my" in content/xdocs and put 2 
files in it ')

It's working now.
Thanks
Mirek


Thorsten Scherler wrote:

>Make sure that the "my" dir is in the same level like the sitemap.
>
>like:
>.
>|-- my
>|-- content
>|   |-- locationmap.xml
>|   `-- xdocs
>...
>|       |-- tabs.xml
>|       `-- ...
>|-- resources
>|   |-- schema
>|   |   `-- catalog.xcat
>|   |-- stylesheets
>|   `-- templates
>|-- sitemap.xmap
>|-- skinconf.xml
>`-- translations
>
>Another example:
>http://svn.apache.org/viewcvs.cgi/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap?view=markup
> <map:pipeline>
>    <map:match pattern="ls.contracts">
>      <map:generate type="directory" src="resources/templates">
>        <map:parameter name="depth" value="1"/>
>        <!-- sorted alphabetically -->
>      	<map:parameter name="reverse" value="false"/>
>      </map:generate>
>      <map:serialize type="xml"/>
>    </map:match>
>  </map:pipeline>
>
>salu2
>  
>


Mime
View raw message