Hi All,
I have recently had a requirement to add EL support to a theme properties file. i.e. after a theme tag has retrieved the message from the property file, the actual message contains EL that needs evaluating.
to enable this I made a one line addition to org.springframework.web.servlet.tags.MessageTag (At ln171 - Spring 1.2.1)Code:messages.properties extract: city.title=Go exploring in ${city} for sun and fun.
Firstly does anyone have a use for this? Secondly how does one go about getting this added to the spring codebase (obviously based on that it's correct and that its useful for other people)Code:msg = ExpressionEvaluationUtils.evaluateString("msg", this.msg, pageContext);
Cheers,
Andrew


Reply With Quote