Hi there, on the internet I can find a lot about jXtemplate (<map:generate
type="jx" src="file.xml"/>).
The information states that in jXtemplate, you can use Java. In cocoon 2.2 I
am searching an alternative for XSP but did not yet succeed. Maybe
jXtemplate is the solution?
What I want for my project is to use real lines of Java source in the
jXtemplate file: like it was in XSP. Is this possible.
For instance, the next line:
String name;
There are other possibilities in jXtemplate to have a variable "name". But I
use this as an example. The question is: can someone give me an example on
how to use this line in jXtemplate? Just something like this (beaucause the
Java source I will use will be more complex):
<jx:javaCode>
String name;
...
...
</jx:javaCode>
(info on jexl: http://commons.apache.org/jexl/ and
http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html)
Thanks for your replies..
--
View this message in context:
http://www.nabble.com/jXtemplate-and-Java-source%3A-searching-an-example-or-tutorial-tp19124311p19124311.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]