- Timestamp:
- 2005-05-16T11:02:50+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/core/DefaultReceptionist.java
r7825 r9874 24 24 25 25 Element page_request = (Element)GSXML.getChildByTagName(page, GSXML.PAGE_REQUEST_ELEM); 26 // if it is a system request, then we don't bother with this. 27 String action = page_request.getAttribute(GSXML.ACTION_ATT); 28 if (action.equals("s")) { 29 System.err.println("HACK: don't ask for coll info if system action"); 30 return; 31 } 26 32 ///ystem.out.println("add extra info, page request="+this.converter.getString(page_request)); 27 33 // is a collection defined? … … 60 66 Element coll_about_response_message = this.mr.process(coll_about_message); 61 67 Element coll_about_response = (Element)GSXML.getChildByTagName(coll_about_response_message, GSXML.RESPONSE_ELEM); 68 if (coll_about_response == null) { 69 return; 70 } 62 71 coll_description = (Element)GSXML.getChildByTagName(coll_about_response, GSXML.COLLECTION_ELEM); 63 72 if (coll_description==null) { // may be a cluster
Note:
See TracChangeset
for help on using the changeset viewer.