cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject [HEADS-UP] Changes to Sitemap's TreeProcessor
Date Fri, 17 Aug 2007 14:54:08 GMT

I've applied changes in r567057 that were discussed here[1]. Briefly speaking, this change
allow us 
to switch to new unified expressions by changing one line of configuration in this[2] file:

   <property name="stringTemplateParser" 

If you change it to:

   <property name="stringTemplateParser" 

You will immediately get a possibility to use new expressions in sitemap, like:

   <map:transform type="xslt" src="style.xsl">
     <!-- here we assume that default EL is JXPath -->
     <map:parameters name="param1" value="{$cocoon/request/parameters/param1}"/>

While that is neat it could introduce very unexpected problems and bugs. I've touched very
functionality of TreeProcessor and it was first, brave attempt to introduce Spring to TreeProcessor.

I tested my changes and everything seems to work as before but I don't understand all constructs
TreeProcessor so some obscure problems may arise.

Please test new changes with your applications and report problems so we can fix them ASAP.


Grzegorz Kossakowski
*** My Internet Service Provider breaks my internet connection                ***
*** incessantly so I'll not be able to respond to e-mails                     ***
*** regularly and my work will be somehow irregular.                          ***
*** I'm already trying to switch ISP but it will take handful amount of time. ***

View raw message