← Back to team overview

dhis2-devs team mailing list archive

encoder in velocity templates in 2.7

 

  Hi all -

    Could someone very briefly explain how the encoder object gets included
in the Velocity context in 2.7?  We've just upgraded one of our projects to
2.7, and all of the strings that use the encoder are not interpolated on
our site now... lots of "$encoder.htmlEncode( $dataElement.displayName )",
and so forth - obviously not usable in that state.

    We've got a set of deltas (custom changes) that we've applied to the
base 2.7 for this project, but none of them have anything to do with
velocity initialization or setup...

   Thanks,
   -David

Follow ups