From: Juergen H. <jho...@us...> - 2008-10-17 10:13:12
|
Update of /cvsroot/springframework/spring/src/org/springframework/web/servlet/theme In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22303/src/org/springframework/web/servlet/theme Modified Files: ThemeChangeInterceptor.java Log Message: exposed "getParamName()" method on LocaleChangeInterceptor and ThemeChangeInterceptor Index: ThemeChangeInterceptor.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/web/servlet/theme/ThemeChangeInterceptor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ThemeChangeInterceptor.java 7 Dec 2005 22:51:08 -0000 1.7 --- ThemeChangeInterceptor.java 17 Oct 2008 10:12:56 -0000 1.8 *************** *** 1,11 **** /* ! * Copyright 2002-2005 the original author or authors. ! * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ! * * http://www.apache.org/licenses/LICENSE-2.0 ! * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, --- 1,11 ---- /* ! * Copyright 2002-2008 the original author or authors. ! * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ! * * http://www.apache.org/licenses/LICENSE-2.0 ! * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, *************** *** 51,54 **** --- 51,62 ---- } + /** + * Return the name of the parameter that contains a theme specification + * in a theme change request. + */ + public String getParamName() { + return this.paramName; + } + public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) |