Yeah I tried moving the starts-with inside the brackets but it errored
out saying it got a "(" when it expected something else.  But thanks
for reminding me that I can simply use the Java startsWith() method. 
Dunno why I didnt think of that :)

Thanks so much,

- Brent

On Thu, 9 Dec 2004 18:28:51 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to