// ... and this one is for re-ordering from the metadata list
if ((subCommand.equals("down")) || (subCommand.equals("up"))) {
try {
// "up" in the GUI means "down" in the ordering, so the
// true/false here may look a little goofy
manager.moveMetadata(manager.getMetadataElement(metadataId),
subCommand.equals("down") ? true : false);
request.setAttribute("successMessage", "Metadata element "
+ metadataId + " successfully moved.");
} catch (NumberFormatException e) {
request.setAttribute("errorMessage",