if (request.getMethod() == Method.POST) {
String name = request.getServletRequest().getParameter("name");
artist.setName(name);
+
+ /* process property changes. */
+ processProperties(request, artist);
+
getCore().getDataManager().saveArtist(artist);
- throw new RedirectException("admin.artists");
+ throw new RedirectException("admin.edit-artist?id=" + artist.getId());
}
} catch (DatabaseException de1) {
throw new RuntimeException("Could not load artist.", de1);