Changeset 3865 for trunk/gsdl3/src
- Timestamp:
- 2003-03-12T16:24:35+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/BrowseAction.java
r3682 r3865 36 36 page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.CONFIGURATION_ELEM), true)); 37 37 38 39 // the browse type is the subaction - ignore for now40 //String browse_type = request.getAttribute(GSXML.SUBACTION_ATT);41 42 //if (browse_type.equals("classifier")) {43 38 return classifierBrowse(page, request); 44 //}45 //return unknownBrowse(page, request, browse_type);46 47 39 48 40 } … … 70 62 71 63 } 72 73 64 74 65 // get the service info from the MR - this will probably need to be cached somehow later on. … … 116 107 mr_query_request.appendChild(paramList); 117 108 118 119 // content - contains the classifier node, may be more than one 120 // call this document list for now 121 Element query_content = doc_.createElement(GSXML.CONTENT_ELEM); 122 mr_query_request.appendChild(query_content); 123 124 Element document_list = doc_.createElement(GSXML.DOCUMENT_ELEM+GSXML.LIST_MODIFIER); 125 Element document = doc_.createElement(GSXML.DOCUMENT_ELEM); 126 document.setAttribute(GSXML.NAME_ATT, node); 109 Element document_list = doc_.createElement(GSXML.CLASS_NODE_ELEM+GSXML.LIST_MODIFIER); 110 Element document = doc_.createElement(GSXML.CLASS_NODE_ELEM); 111 document.setAttribute(GSXML.CLASS_NODE_ID_ATT, node); 127 112 document_list.appendChild(document); 128 query_content.appendChild(document_list);113 mr_query_request.appendChild(document_list); 129 114 130 115 Element mr_query_response = (Element)mr_.process(mr_query_message); … … 142 127 143 128 GSXSLT.absoluteIncludePaths(style_doc, config_); 129 130 //System.out.println("page="); 131 //System.out.println(converter_.getString(page)); 144 132 return (Element)transformer_.transform(style_doc, page); 145 133 } … … 150 138 } 151 139 } 140 141
Note:
See TracChangeset
for help on using the changeset viewer.