You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Paul Bolger <pb...@gmail.com> on 2005/10/24 13:06:11 UTC
[Structurer] status
Thorsten
You may remember that I had some problems with views a week or so
back. Since then I haven't had much luck getting them to work, and I
gather that lots has happened with views/themer/structurer whatever in
that time anyway. Is there a document in the howtos which reflects the
current status of views/themer/structurer?
I'd quite like to get a test setup going as I think I may have some
suggestions on the approach to CSS (and standards compliant (x)html
output).
paul b
"I'd like to thank the member of the audience who threw this glass
bottle at my head..."
(Iggy Pop, 1973)
On 10/24/05, Thorsten Scherler <th...@apache.org> wrote:
> El lun, 24-10-2005 a las 11:49 +0200, Cyriaque Dupoirieux escribió:
> > Hi,
> >
> > I had a problem since last week, I have found what it was :
> > The structurer - or the themer ? - does not find custom templates
> > (under project/src/documentation/resources/templates) anymore.
> > Thorsten, do you now where it comes from ?
> >
>
> Hmm, since *this morning* there is a new file structure in place.
> forrest-trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes
> ...
> |-- pelt
> | |-- css
> | | |-- leather-dev.css
> | | |-- pelt.basic.css
> | | |-- pelt.print.css
> | | `-- pelt.screen.css
> | `-- html
> | |-- branding-theme-profiler.ft
> | |-- content-abstract.ft
> | |-- content-main.ft
> | |-- content-xml-link.ft
> | |-- nav-main-sub.ft
> | |-- nav-section-round-bottom.ft
> | |-- nav-section.ft
> | |-- search-input.ft
> | `-- siteinfo-credits.ft
> `-- pelt.fv
>
> As well we have a new property:
> project.theme-dir=${project.resources-dir}/themes
>
> The whole matching route can be seen in locationmap-themer.xml and
> locationmap-structurer.xml.
>
> For contracts the locationmap-themer.xml gives:
> <!-- Project implementation of templates have priority before default
> ones.
> If no implementation can be found we use the noFt (~ - no
> forrest:template) implementation.
> {1} name of the contract -->
> <match pattern="resolve.contract.html.**">
> <select type="exists">
> <!-- project-based theme -->
> <location
> src="{project:theme-dir}/{project:theme}/html/{1}.ft" />
> <!-- project-based default fallback -->
> <location
> src="{project:theme-dir}/{defaults:theme}/html/{1}.ft" />
> <!-- project-application-based theme -->
> <location
> src="{project:themer}/resources/themes/{project:theme}/html/{1}.ft" />
> <!-- project-application-based default fallback -->
> <location
> src="{project:themer}/resources/themes/{defaults:theme}/html/{1}.ft" />
> <!-- forrest-application-based theme -->
> <location
> src="{defaults:themer}/resources/themes/{project:theme}/html/{1}.ft" />
> <!-- forrest-application-based default fallback -->
> <location
> src="{defaults:themer}/resources/themes/{defaults:theme}/html/{1}.ft" />
> <!-- forrest-application-based no found -->
> <location
> src="{defaults:themer}/resources/themes/{defaults:theme}/html/noFt.ft" />
> </select>
> </match>
>
> HTH
>
> salu2
> --
> thorsten
>
> "Together we stand, divided we fall!"
> Hey you (Pink Floyd)
>
>
Re: [Structurer] status
Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
>El lun, 24-10-2005 a las 20:36 +0930, Paul Bolger escribió:
>
>
>>Thorsten
>>
>>You may remember that I had some problems with views a week or so
>>back. Since then I haven't had much luck getting them to work, and I
>>gather that lots has happened with views/themer/structurer whatever in
>>that time anyway. Is there a document in the howtos which reflects the
>>current status of views/themer/structurer?
>>
>>
>
>We have a stable version of views v1 that should work out-of-the-box
>with the linkrewriting. I recommend to use this version for now.
>http://forrest.apache.org/docs_0_80/howto/howto-view-install.html
>
>The newer version of views v2 is not usable ATM. Too many known bugs and
>it moves to rapid. As soon I settled the the basic structure I will
>update the dispatcher howto.
>
>
>
>>I'd quite like to get a test setup going as I think I may have some
>>suggestions on the approach to CSS (and standards compliant (x)html
>>output).
>>
>>
>
>If you are adventurous (and want to try v2) just do:
>add $FORREST_HOME/lib/core/commons-jxpath-1.2.jar
>
>
And maybe you should remove 'lib\core\commons-jxpath-20030909.jar'...
Cyriaque,
>cd $FORREST_HOME/main/template-sites/v2; forrest run
>http://localhost:8888/
>
>That is the pub I am doing my development with, which should work.
>
>
>
>>paul b
>>
>>
>>"I'd like to thank the member of the audience who threw this glass
>>bottle at my head..."
>>(Iggy Pop, 1973)
>>
>>
>
>jeje, nice one. ;-)
>
>
Re: [Structurer] status
Posted by Thorsten Scherler <th...@apache.org>.
El lun, 24-10-2005 a las 20:36 +0930, Paul Bolger escribió:
> Thorsten
>
> You may remember that I had some problems with views a week or so
> back. Since then I haven't had much luck getting them to work, and I
> gather that lots has happened with views/themer/structurer whatever in
> that time anyway. Is there a document in the howtos which reflects the
> current status of views/themer/structurer?
We have a stable version of views v1 that should work out-of-the-box
with the linkrewriting. I recommend to use this version for now.
http://forrest.apache.org/docs_0_80/howto/howto-view-install.html
The newer version of views v2 is not usable ATM. Too many known bugs and
it moves to rapid. As soon I settled the the basic structure I will
update the dispatcher howto.
> I'd quite like to get a test setup going as I think I may have some
> suggestions on the approach to CSS (and standards compliant (x)html
> output).
If you are adventurous (and want to try v2) just do:
add $FORREST_HOME/lib/core/commons-jxpath-1.2.jar
cd $FORREST_HOME/main/template-sites/v2; forrest run
http://localhost:8888/
That is the pub I am doing my development with, which should work.
> paul b
>
>
> "I'd like to thank the member of the audience who threw this glass
> bottle at my head..."
> (Iggy Pop, 1973)
jeje, nice one. ;-)
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)