Index: lams_bb_integration/web/links/monitor.jsp =================================================================== diff -u -r4265110d294b2209f343733d3770a28e9ec7d7b1 -r5c3a63af1a41317ffba9834dcd54a183f0da1c29 --- lams_bb_integration/web/links/monitor.jsp (.../monitor.jsp) (revision 4265110d294b2209f343733d3770a28e9ec7d7b1) +++ lams_bb_integration/web/links/monitor.jsp (.../monitor.jsp) (revision 5c3a63af1a41317ffba9834dcd54a183f0da1c29) @@ -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}"); }