Removed the check for properties in the ObjectListPortlet (and therefore in the ItemListPortlet) of ccm-navigation. The Portlet(s)

have now the same behaviour as an ordinary item list in a JSP template.


git-svn-id: https://svn.libreccm.org/ccm/trunk@3348 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-04-20 07:32:04 +00:00
parent b14e96770b
commit 2c73c5a84d
1 changed files with 5 additions and 5 deletions

View File

@ -326,11 +326,11 @@ public class ObjectListPortletEditor extends PortletConfigFormSection {
field = field.substring(0, field.indexOf('.'));
}
if (!objType.exists(Path.get(field))) {
throw new FormProcessException(NavigationGlobalizationUtil.globalize(
"portlet.ui.type_does_not_have_property",
new String[]{type.getQualifiedName(), field}));
}
// if (!objType.exists(Path.get(field))) {
// throw new FormProcessException(NavigationGlobalizationUtil.globalize(
// "portlet.ui.type_does_not_have_property",
// new String[]{type.getQualifiedName(), field}));
// }
}
}