Grzegorz Kossakowski wrote:
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).
Ok. So I may write a page with a title like "Configuration properties in
the sitemap" and specify that only system properties (java.home, etc)
and the ones set in the various *.properties are available.
Moreover, it would be useful to specify that both ${prop} and
{global:prop} syntax will work.
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.
Yep, but I was interested in the sitemap.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]