Changeset 9405
- Timestamp:
- 2005-03-14T10:45:18+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r8921 r9405 130 130 131 131 Element request = (Element)GSXML.getChildByTagName(page, GSXML.PAGE_REQUEST_ELEM); 132 String action = request.getAttribute("action"); 133 String subaction = request.getAttribute("subaction"); 134 132 String action = request.getAttribute(GSXML.ACTION_ATT); 133 String subaction = request.getAttribute(GSXML.SUBACTION_ATT); 134 135 String output = request.getAttribute(GSXML.OUTPUT_ATT); 136 // we should choose how to transform the data based on output, eg diff 137 // choice for html, and wml?? 138 // for now, if output=xml, we don't transform the page, we just return 139 // the page xml 140 if (output.equals("xml")) { 141 return page; 142 } 143 135 144 Element cgi_param_list = (Element)GSXML.getChildByTagName(request, GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER); 136 145 String collection = "";
Note:
See TracChangeset
for help on using the changeset viewer.