forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [Pelt with Structurer]
Date Thu, 13 Oct 2005 14:49:58 GMT
My test forrest.properties (snippets):
#********************************************************
# code name: views 
#********************************************************
# code name: (views-)themer
#   views is using a fallback mechanism for theming.
#   Themes are structured and transformed through templates. 
#   You can configure the theme name and its extension here
#####################################
#   *theme* aka (also known as) {project:theme}
 project.theme=pelt
#   *theme-extension* aka {project:theme-ext}
# project.theme-extension=.fv
#####################################
#  *description* 
#  Forrest will resolve which (view-) template is responsible 
#  for the request with the help of themes.
#  
#  If no (view-) template (first choice or fallback) can be found, 
#  the structurer will return the default fallback 
#  ({defaults:view-themes}/{defaults:theme}{defaults:theme-ext}).
#
# Example (default.fv):
# 1.request: index 
#  First choice: index.{project:theme-ext} = index.fv
#  First/last fallback: {project:theme}{project:theme-ext} = default.fv
# 
# 2.request: sample/index 
#  First choice: sample/index.fv 
#  First fallback: sample/default.fv 
#  Last fallback: default.fv
# 
# 3.request: sample/subdir/index 
#  First choice: sample/subdir/index.fv 
#  First fallback: sample/subdir/default.fv 
#  Second fallback: sample/default.fv
#  Last fallback: default.fv
# ...
# The parent (view-) template inherits to its children until a child
# is overriding this template. This fallback templating can be 
# used for directories (default.fv) and/or files (*.fv). 
# That means that the root view is the
# default view as long no other view can be found in the requested
child.
##########################################
#   *advanced configuration* - you can specify which plugins you want
#   use internal.
#project.themer=
${forrest.home}/build/plugins/org.apache.forrest.plugin.output.themes
#project.stucturer=
${forrest.home}/build/plugins/org.apache.forrest.plugin.internal.structurer
# depreceated:
# ...
project.required.plugins=org.apache.forrest.plugin.output.themes,org.apache.forrest.plugin.internal.structurer,org.apache.forrest.plugin.input.viewHelper.xhtml.ls

El jue, 13-10-2005 a las 16:38 +0200, Cyriaque Dupoirieux escribió:
> Thorsten Scherler a écrit :
> 
> >Done 
> >Commit de la revisión 320775.
> >
> >I just deleted the themer and check it out again. ;-)
> >  
> >
> I had finished to apply to patch :-( ...

Sorry. 

>     It's not working with me, is there a problem with the 
> commons-jxpath-*-.jar version, which must I use ?

?      lib/core/commons-jxpath-1.2.jar

What is the error?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message