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
cocoon.request

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:

#{$cocoon/parameters/param1}

which does the job.

Thanks
Werner

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to