Hi,
I am trying to use the #templateExists velocity function to determine if a
template exists before calling the #parse function. I am getting errors
when I tried this:
#if (#templateExists("$context/assets/organizations/$id/css/styles.css"))
#parse("$context/assets/organizations/$id/css/styles.css")
#end
The error message I am receiving is this:
"Was expecting one of: "[" , "{" , "(" , <WHITESPACE> ,
<STRING_LITERAL> , "true" , "false" , <INTEGER_LITERAL> ,
<FLOATING_POINT_LITERAL> , <IDENTIFIER> , "{" , <LOGICAL_NOT>"
I would appreciate some information on how to solve this. I also tried
resourceExists with similar results.
I am using Click 1.5.
Thank you,
Prem