} else if (definition.getType() == PropertyDefinition.TYPE_LIST) {
List<Pair> listItemsList = new ArrayList<Pair>();
if (!definition.getTypeMeta().startsWith("!")) {
for (Iterator i = ((List) definition.getTypeMetaObject()).iterator(); i.hasNext();) {
TypeMetaListItem item = (TypeMetaListItem) i.next();
ServletContext context = CoreServlet.getServlet().getServletContext();
ModuleConfig moduleConfig = ModuleUtils.getInstance().getModuleConfig(request, context);
String mrKey = (item.getMessageResourcesKey() == null ? "properties" : item.getMessageResourcesKey())
+ moduleConfig.getPrefix();
MessageResources res = (MessageResources) context.getAttribute(mrKey);
String k = definition.getName() + ".value." + item.getValue();
String v = "";
if (res != null) {
v = res.getMessage((Locale) request.getSession().getAttribute(Globals.LOCALE_KEY), k);
if (v == null) {