struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james_carbon5 <>
Subject Can anyone explain the leading "r" in OGNL list syntax?
Date Wed, 29 Aug 2007 18:29:45 GMT

I was trying to figure out how to use a static map, that I created in a
freemarker template, to populate a drop down list, a la:

< ... list=#{"foo":"foo stuff","bar":"bar stuff"} />

After an hour or so of banging my head into my keyboard I found this
post , where I learned that this will work.

< ... list=r'#{"foo":"foo stuff","bar":"bar stuff"}' />

Can someone explain what the leading "r" is, or point me to some
documentation that explains what it is and when to use it? I haven't been
able to find any mention of it in the struts 2, freemarker, or ognl language
documentation. Thanks!
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message