cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Masik (JIRA)" <>
Subject [jira] Created: (COCOON-1737) JXTemplate Generater: set var problem
Date Thu, 19 Jan 2006 13:19:41 GMT
JXTemplate Generater: set var problem

         Key: COCOON-1737
     Project: Cocoon
        Type: Bug
  Components: Blocks: Templating  
    Versions: 2.1.9-dev (current SVN)    
    Reporter: Werner Masik
    Priority: Minor

It looks to me like something is wrong with <jx:set var="" > . AFAIK set var just is
a alias and can be used like any other variable in the template. But it is not possible to
use it in a attribute value.


<jx:set var="testvar" value="hello" />
<somexml    myattr="${testvar}" />

leads to something like:

<somexml    myattr="[Lorg.w3c.dom.Node;@1abcd5e" />

Obviously not the content of the variable is returned, but the reference to the DOM-node.
It works normal if it is used within the body.
This problem might be related to

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message