Changeset 1529 for MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/action/WorkspaceAction.java
- Timestamp:
- 09/09/11 14:26:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/action/WorkspaceAction.java
r1524 r1529 198 198 } 199 199 200 @Override 201 public String getActionContentType() { 202 if (this.getFormat().toLowerCase().startsWith("json")) { 203 this.setActionContentType("application/json"); 204 //this.actionContentType = "application/xhtml+xml"; 205 } else { 206 this.setActionContentType("text/xml"); 207 } 208 209 return getActionContentType(); 210 } 200 211 201 212 //@Override … … 962 973 public void prepare() throws Exception { 963 974 975 loadParams(); 976 964 977 NodeList list = (NodeList) getWorkspace();//result; 965 978 if (list.getLength() < 1) {
Note: See TracChangeset
for help on using the changeset viewer.