cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From H.vanderLin...@MI.unimaas.nl
Subject RE: XPath Functions in JXTemplate
Date Thu, 09 Dec 2004 17:28:51 GMT
Hi,

> <jx:choose>
> <jx:when test="starts-with('${colors.get(block.getColor())}','/')">

Try: <jx:when test="#{starts-with(color.get(block.getColor()), '/')}">


(#{} = xpath, ${} = jexl)

For me using the java versions usually work:

<jx:when test= "${color.get(block.getColor()).startswith('/')}">

HTH.

Bye, Helma

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


Mime
View raw message