161162163164165166167
if (userObject == null) // assume add return new AddFileResourceController(callback, supportedTypes, new String[] {"zip"}, ureq, wControl); else // assume create return new CreateNewGlossaryController(callback, ureq, wControl); }