anchor.diff:          }
       }
   
  -    if (isAuthorizedToManagePackages || isAuthorizedToMonitor ) {
  -        if(isAuthorizedToManagePackages && operation != null && packageName != null &&
  -           operation.equals("undeploy")) {
  +    if (isAuthorizedToManagePackages || isAuthorizedToMonitor) {
  +        if (isAuthorizedToManagePackages && operation != null && packageName != null &&
  +            operation.equals("undeploy")) {
               try {
                   UndeployStatus_type0 status = client.undeploy(packageName);
  -                if(status.equals(UndeployStatus_type0.FAILED)) {
  +                if (status.equals(UndeployStatus_type0.FAILED)) {
                       response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR);
                       CarbonUIMessage uiMsg = new CarbonUIMessage(
                               CarbonUIMessage.ERROR,
  -                            "BPEL package "+ packageName +" undeployment failed.",
  +                            "BPEL package " + packageName + " undeployment failed.",
                               null);
                       session.setAttribute(CarbonUIMessage.ID, uiMsg);
   %>
   <jsp:include page="../admin/error.jsp"/>
   <%
  -                    return;
  -                }
  -            } catch (Exception e) {
  -                response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR);
  -                CarbonUIMessage uiMsg = new CarbonUIMessage(CarbonUIMessage.ERROR, e.getMessage(), e);
  -                session.setAttribute(CarbonUIMessage.ID, uiMsg);
  +        return;
  +    }
  +} catch (Exception e) {
  +    response.setStatus(HttpStatus.SC_INTERNAL_SERVER_ERROR);
  +    CarbonUIMessage uiMsg = new CarbonUIMessage(CarbonUIMessage.ERROR, e.getMessage(), e);
  +    session.setAttribute(CarbonUIMessage.ID, uiMsg);
   %>
   <jsp:include page="../admin/error.jsp"/>
   <%
  
positive.code:     String packageName = CharacterEncoder.getSafeText(request.getParameter("packageName"));
  
      boolean isAuthorizedToManagePackages =
                  CarbonUIUtil.isUserAuthorized(request, "/permission/admin/manage/bpel/packages");
      boolean isAuthorizedToMonitor =
              CarbonUIUtil.isUserAuthorized(request, "/permission/admin/monitor/bpel");
  
      if (isAuthorizedToManagePackages || isAuthorizedToMonitor ) {
          try {
              client = new BPELPackageManagementServiceClient(cookie, backendServerURL, configContext);
          } catch (Exception e) {
  
negative.code:             resourceBundle="org.wso2.carbon.bpel.ui.i18n.Resources"
              topPage="false"
              request="<%=request%>"/>
      <jsp:include page="../dialog/display_messages.jsp"/>
      <div id="middle">
          <div id="package-list-main">
              <h2><fmt:message key="bpel.package.dashboard.headertext"/>&nbsp;(<%=packageName%>)</h2>
  
              <div id="workArea">
                  <div id="package-list">
                      <%
                          if (isAuthorizedToManagePackages || isAuthorizedToMonitor) {
                      %>
                      <table id="packageListTable" class="styledLeft" width="100%">
                          <thead>
  
                          <%
                              if (isAuthorizedToManagePackages) {
                          %>
                          <tr>
                              <th>
                                  <nobr><fmt:message key="actions"/></nobr>
                              </th>
                          </tr>
                          <%
                              }
                          %>
                          </thead>
  
                          <tbody>
  