cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Brosich <>
Subject jxtemplate doesn't read pipeline parameters
Date Wed, 05 Sep 2007 09:18:36 GMT

I have a strange problem with a really simple pipeline using jxtemplate

The pipeline is:

      <map:match pattern="registereduser">
        <map:generate type="jx" src="jx/login.jx">
          <map:parameter name="username" value="{request-param:username}"/>
          <map:parameter name="hostname" value="{request:remoteHost}"/>
        <map:serialize type="xml"/>

and the file login.jx is

<?xml version="1.0" encoding="UTF-8"?>

<jx:template xmlns:jx="">



I obtain always empty tags. I tried with fixed strings in the sitemap like

<map:parameter name="hostname" value="anystring"/>

and with different methods to access data in the jx file (JSTL and XPath
as I found in
Accessing other cocoon objects (cocoon.request, for example) works right.

No useful information in the logs.

Cocoon version 2.1.10 on debian 4.0 with jdk 1.5.0_11.

Where is the  mistake?

Thanks in advance

Alberto Brosich

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

View raw message