updating to ensure default namespace is null (to be consistent with the vivo version and the other calls where null denotes default namespace for the edit configuration)

This commit is contained in:
hjkhjk54 2011-12-05 21:51:01 +00:00
parent 48c8a73613
commit dac5d91478

View file

@ -114,9 +114,8 @@ public class NewIndividualFormGenerator implements EditConfigurationGenerator {
private Map<String, String> generateNewResources(VitroRequest vreq) {
HashMap<String, String> newResources = new HashMap<String, String>();
//TODO: Get default namespace
String defaultNamespace = vreq.getWebappDaoFactory().getDefaultNamespace();
newResources.put("newInd", defaultNamespace + "individual");
//null makes default namespace be triggered
newResources.put("newInd", null);
return newResources;
}