anchor.diff:          }
       }
   
  +    String message=MessageFormat.format(resourceBundle.getString("role.update"),roleName);
  +
       try {
           String[] selectedPermissions = request.getParameterValues("selectedPermissions");
           String cookie = (String)session.getAttribute(ServerConstants.ADMIN_SERVICE_COOKIE);
  
positive.code: //                                                                roleBeanEditPermission.getSelectedPermissions());
  //            forwardTo = "../userstore/ex-role-mgt.jsp?ordinal=1";
  //        }else{
               client.setRoleUIPermission(roleName, selectedPermissions);
               //forwardTo = "role-mgt.jsp?ordinal=1";
  //        }
  
  
negative.code:                 CarbonUIMessage.ERROR, request);
          //forwardTo = "role-mgt.jsp?ordinal=1";
      } catch (Exception e) {
  	    message = MessageFormat.format(resourceBundle.getString("role.cannot.update"),
                  CharacterEncoder.getSafeText(roleName), e.getMessage());
          CarbonUIMessage.sendCarbonUIMessage(message,CarbonUIMessage.ERROR,request);
  %>
  <script type="text/javascript">
      jQuery(document).ready(function () {
  