use templateCodec for a special case in taglib function call