I have a TextArea
in my jelly file. I would like to have something like
'${JOB_NAME}
' for its value. But when I do that it checks for the environment variable "JOB_NAME"
. I just want to escape ${
and }
so that it will display it as it is without trying to interpret it.
<f:textarea name = "script" value = "${JOB_NAME}">
How would I do that?
Use $${JOB_NAME}
to prevent $
from being interpolated.
See http://commons.apache.org/proper/commons-jelly/faq.html#escapingJexl