private void actionDelete(HttpServletRequest request, RequestData rd, Class clazz){
        try{
            helper.deleteElement(clazz, rd.id);    
        }
        catch(RuntimeException ex){
            request.setAttribute("error", ex.getMessage());
        }

    }