> -----Oorspronkelijk bericht-----
> Van: Leszek Gawron [mailto:[EMAIL PROTECTED]
>
> This is not true. You can call static methods and even constructors.
> Both from JXPath and JEXL.
>
> <jx:set var="buffer" value="${java.lang.StringBuffer('Hello ')}"/>
> <jx:set var="ignore" value="${buffer.append( 'World!' )}"/>
> <hw>${buffer.toString()}</hw>
>
> Works like a charm in trunk.
>
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 somehow after calling the page a few times,
the application hangs. Took me a long time to figure it out. (I've
already solved it, simply by having a method
evidence.isUploadableEvidence() with the expression written in Java).
Does anybody know what might be going wrong? (I'm just curious)
Bart.