Revision 5027
Added by daigle over 14 years ago
SkinsAdmin.java | ||
---|---|---|
52 | 52 |
* Control the display of the skins configuration page and the processing |
53 | 53 |
* of the configuration values. |
54 | 54 |
*/ |
55 |
public class SkinsAdmin extends MetaCatAdmin {
|
|
55 |
public class SkinsAdmin extends MetacatAdmin {
|
|
56 | 56 |
|
57 | 57 |
private static SkinsAdmin skinsAdmin = null; |
58 | 58 |
private static Logger logMetacat = Logger.getLogger(SkinsAdmin.class); |
... | ... | |
164 | 164 |
|
165 | 165 |
// Forward the request to the JSP page |
166 | 166 |
RequestUtil.forwardRequest(request, response, |
167 |
"/admin/skins-configuration.jsp"); |
|
167 |
"/admin/skins-configuration.jsp", null);
|
|
168 | 168 |
|
169 | 169 |
} catch (GeneralPropertyException pnfe) { |
170 | 170 |
throw new AdminException("Problem getting property while initializing " |
... | ... | |
266 | 266 |
RequestUtil.clearRequestMessages(request); |
267 | 267 |
RequestUtil.setRequestFormErrors(request, validationErrors); |
268 | 268 |
RequestUtil.setRequestErrors(request, processingErrors); |
269 |
RequestUtil.forwardRequest(request, response, "/admin"); |
|
269 |
RequestUtil.forwardRequest(request, response, "/admin", null);
|
|
270 | 270 |
} else { |
271 | 271 |
// Now that the options have been set, change the |
272 | 272 |
// 'skinsConfigured' option to 'true' |
... | ... | |
278 | 278 |
RequestUtil.clearRequestMessages(request); |
279 | 279 |
RequestUtil.setRequestSuccess(request, processingSuccess); |
280 | 280 |
RequestUtil.forwardRequest(request, response, |
281 |
"/admin?configureType=configure&processForm=false"); |
|
281 |
"/admin?configureType=configure&processForm=false", null);
|
|
282 | 282 |
} |
283 | 283 |
} catch (ServletException se) { |
284 | 284 |
throw new AdminException("problem forwarding request while " |
Also available in: Unified diff
Change MetaCatVersion to MetacatVersion