Luca Morandini pisze:
Grzegorz Kossakowski wrote:
Luca Morandini pisze:
So, it seems either syntax (${java.home} and {global:java.home}) is
fine, but Maven's properties are not visible to the sitemap, even
when using the jetty plugin.
Luca, what do you expect to get from project.version property? Version
of block you are in, version of webapp module assembling all blocks or
something else?
I would expect the version of the block I'm in.
According to my knowledge that information is not available (at least directly).
May I ask what do you want to achieve?
Just to know which properties are available in the sitemap.
In Cocoon 2.2 we have unified API[1] for this kind of things. You can call
Settings.getPropertyNames() and iterate the list in JX or Flow.
Settings object is available through cocoon.settings.
[1]
http://cocoon.apache.org/subprojects/configuration/1.0/configuration-api/1.0/apidocs/index.html
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]