cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: JX transformer and variables with a minus sign
Date Fri, 23 Jan 2004 02:42:38 GMT
With the cvs version of JXTemplateGenerator you can do this:

${this['view-catalog']}

As a workaround for older versions try JXPath, e.g.:

#{view-catalog}

Hugo Burm wrote:

>Hello,
>
>How can I put the value of e.g. a variable 'view-catalog' on the screen.
>When I try ${view-catalog} it gives me the number 0, not the value of my
>string 'view-catalog'. So, obviously, ${view-catalog} tries to subtract the
>variables 'view' and 'catalog'. When I try quotes, it gives me the name of
>the variable ('view-catalog') and not the value of the string identified by
>'view-catalog'.
>
>Hugo
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message