Not without a stack trace.
Bart Molenkamp wrote:
I've had problems with the following expression:
jx:when test=${java.lang.Class.forName( \
'com.bizzdesign.risks.assessment.UploadedEvidence'). \
isAssignableFrom(evidence.getClass())}
(the expression is one line).
This expression works, but
: Re: Java objects in JX templates
Not without a stack trace.
Bart Molenkamp wrote:
I've had problems with the following expression:
jx:when test=${java.lang.Class.forName( \
'com.bizzdesign.risks.assessment.UploadedEvidence'). \
isAssignableFrom(evidence.getClass
Il giorno 27/gen/06, alle ore 21:10, Leszek Gawron ha scritto:
One more thing: this construct
${java.util.StringTokenizer(items, delims)}
will work only when .jx is invoked from flow. This is due to the
fact that neither JEXL nor JXPath is able to reference packages/
create java objects.
Hello,
I upgraded two webapps from Coccon 2.1.7 to 2.1.8 lately...
And I found this thread intriguing, so I have added the following to one
of my existing JX templates (which is run through a JX generator pipeline,
invoked by flowscript):
p
jx:set var=items value=alpha,beta,gamma/
Ugo Cei wrote:
Our docs [1] state that something like:
jx:forEach var=${var}
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
should work. However, that doesn't seem to be the case, at least in
2.1.8 while it apparently worked before. I did a few more tests and
Sylvain Wallez wrote:
Ugo Cei wrote:
Our docs [1] state that something like:
jx:forEach var=${var}
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
should work. However, that doesn't seem to be the case, at least in
2.1.8 while it apparently worked before. I did a
Our docs [1] state that something like:
jx:forEach var=${var}
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
should work. However, that doesn't seem to be the case, at least in
2.1.8 while it apparently worked before. I did a few more tests and
discovered that
Ugo Cei wrote:
Our docs [1] state that something like:
jx:forEach var=${var}
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
should work. However, that doesn't seem to be the case, at least in
2.1.8 while it apparently worked before. I did a few more tests and
Il giorno 27/gen/06, alle ore 15:54, Leszek Gawron ha scritto:
Ugo Cei wrote:
Our docs [1] state that something like:
jx:forEach var=${var}
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
should work. However, that doesn't seem to be the case, at least
in 2.1.8
Jens Maukisch wrote:
Hi,
[1] http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html
Didn't you want to do:
jx:forEach var=varName
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
Have you tried the sample mentioned in the Docs? It does not work
for me either and your
Ugo Cei wrote:
Il giorno 27/gen/06, alle ore 15:54, Leszek Gawron ha scritto:
Ugo Cei wrote:
Our docs [1] state that something like:
jx:forEach var=${var}
items=${java.util.StringTokenizer(items, delims)}
/jx:forEach
should work. However, that doesn't seem to be the case, at
11 matches
Mail list logo