anchor.diff:  //                                                                roleBeanEditPermission.getSelectedPermissions());
   //            forwardTo = "../userstore/ex-role-mgt.jsp?ordinal=1";
   //        }else{
  -             client.setRoleUIPermission(roleName, selectedPermissions);
                //forwardTo = "role-mgt.jsp?ordinal=1";
   //        }
   
  
positive.code:                 CarbonUIMessage.ERROR, request);
          //forwardTo = "role-mgt.jsp?ordinal=1";
      } catch (Exception e) {
  	    String message = MessageFormat.format(resourceBundle.getString("role.cannot.update"),
                  CharacterEncoder.getSafeText(roleName), e.getMessage());
  %>
  <script type="text/javascript">
      jQuery(document).ready(function () {
  
negative.code:         ConfigurationContext configContext =
              (ConfigurationContext) config.getServletContext().getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
          UserAdminClient client = new UserAdminClient(cookie, backendServerURL, configContext);
  
          client.setRoleUIPermission(roleName, selectedPermissions);
          CarbonUIMessage.sendCarbonUIMessage(message, CarbonUIMessage.INFO, request);
  //        if("external".equals(userType)){
  //            proxy.updateSystemPermissionsOfExternalRole(roleBeanEditPermission.getRoleName(),
  