forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <>
Subject [jira] Commented: (FOR-1220) trouble with config variable and skins, only in WAR mode
Date Sat, 05 Feb 2011 07:54:30 GMT


David Crossley commented on FOR-1220:

See mail discussion:
Subject: an XSLT issue with seed-sample WAR and Java-1.5
Date: 4 Feb 2011

> trouble with config variable and skins, only in WAR mode
> --------------------------------------------------------
>                 Key: FOR-1220
>                 URL:
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch servlet WAR, Skins (general issues)
>    Affects Versions: 0.9-dev, 0.10
>            Reporter: David Crossley
>             Fix For: 0.10
> When using a WAR, and our provided skins, it seems that the $config (i.e. //skinconf)
variable is not instantiated until it has actually been used. In a stylesheet (e.g. main/webapp/skins/pelt/xslt/html/site-to-xhtml.xsl)
the $config variable is set by the imported "common" related stylesheet. The first use of
the $config variable (i.e. motd) is failing in WAR mode, but all is fine in 'forrest run'
and 'forrest site' modes. The fix seems to be to actually use the variable (e.g. with count()
function) before trying to process it.
> This seems to be only a problem on Java 1.5 and is okay on Java 6.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message