Index: lams_bb_integration/web/links/monitor.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_bb_integration/web/links/monitor.jsp,v diff -u -r1.3 -r1.4 --- lams_bb_integration/web/links/monitor.jsp 3 Feb 2015 20:04:13 -0000 1.3 +++ lams_bb_integration/web/links/monitor.jsp 21 Jul 2015 07:48:51 -0000 1.4 @@ -83,7 +83,18 @@ String strTitle = f.getTitle().replace("'", "\\'"); sb.append("{type:'Text', label:'" + strTitle + "', id:'" + strId + "'}"); // return sb.toString(); - + + } else if (f.getContentHandler().equals("resource/x-ntu-hdllams")) { + String strUrl = f.getUrl(); + String strId = "0"; + if (strUrl.indexOf("&seq_id=") != -1) { + int pos1 = strUrl.indexOf("&seq_id=") + 8; +// int pos2 = strUrl.indexOf("&", pos1); + strId = strUrl.substring(pos1); + } + String strTitle = f.getTitle().replace("'", "\\'"); + sb.append("{type:'Text', label:'" + strTitle + "', id:'" + strId + "'}"); + } else { // sb.append("{type:'HTML', html:'null', id:0}"); }