anchor.diff:  //
   // Modifications:
   //
  +// 2006 Nov 08: Added Read Only Role
   // 2004 Feb 11: remove the extra 'limit' parameter in the base URL.
   // 2003 Sep 04: Added a check to allow for deleted node alarms to display.
   // 2003 Feb 07: Fixed URLEncoder issues.
  
positive.code: 						</thead>
        <% for( int i=0; i < alarms.length; i++ ) { %>        
          <tr class="<%=AlarmUtil.getSeverityLabel(alarms[i].getSeverity())%>">
            <td class="divider" valign="top" rowspan="3">
              <nobr>
                <input type="checkbox" name="alarm" value="<%=alarms[i].getId()%>" /> 
              </nobr>
            </td>
            <td class="divider" valign="top" rowspan="3">
              <a href="alarm/detail.jsp?id=<%=alarms[i].getId()%>"><%=alarms[i].getId()%></a>
            </td>
  
negative.code: 
      String action = null;
  
      if( !(request.isUserInRole( Authentication.READONLY_ROLE ))) {     
          if( parms.ackType == AlarmFactory.AcknowledgeType.UNACKNOWLEDGED ) {
              action = AcknowledgeAlarmServlet.ACKNOWLEDGE_ACTION;
          } 
          else if( parms.ackType == AlarmFactory.AcknowledgeType.ACKNOWLEDGED ) {
              action = AcknowledgeAlarmServlet.UNACKNOWLEDGE_ACTION;
          }
      } 
  
      int alarmCount = AlarmFactory.getAlarmCount( parms.ackType, parms.getFilters() );    
      
  