public String getMessage(BootstrapFragmentResponse response) {
   ResourceBundle messages =
       ResourceBundle.getBundle(
           "de.unioninvestment.eai.portal.portlet.crud.messages",
           response.getRequest().getLocale());
   return messages.getString("portlet.crud.loadingindicator.text");
 }
 @Override
 public void modifyBootstrapFragment(BootstrapFragmentResponse response) {
   String message = getMessage(response);
   if (!Strings.isNullOrEmpty(message)) {
     List<Node> nodes = response.getFragmentNodes();
     for (Node node : nodes) {
       if (isMainDiv(node)) {
         addLoadingIndicator((Element) node, message);
       }
     }
   }
 }