cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From werner <>
Subject Re: JX generator migration
Date Wed, 26 Apr 2006 09:36:09 GMT
Bruno Dumon wrote:

>On Mon, 2006-04-24 at 19:46 +0200, werner wrote:
>>Dear Mailinglist!
>>I'm migrating an application from the "old" JX-Template generator to the 
>>new one. Some of my  templates don't work anymore.  Is there some kind 
>>of documentation (except source code ;-) ) out there that describes the 
>>differences? I'm asking this because I used Jexl in my templates and 
>>there seem to be some changes.
>AFAIK there shouldn't be any differences, though accessing objects like
>request directly is not supported anymore, instead you need to use
Well, I had problems accessing some sitemap parameters with 
${parameters.getParameter('param1')}. I tried to change this to  
${cocoon.parameters.getParameter('param1')}. It did not work for me, so 
I changed the code to JXPath:


which does the job.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message