Finish account settings option.
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<div style="background-color: #d1e4f0; max-width: 650px; font-family: Arial, sans-serif; color: #000; padding: 5px;">
|
||||
<div style="height: 36px; font-size: 14px; font-weight: bold; padding-bottom: 4px;">
|
||||
<table style="display: inline;width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td height="35px" width="2px" style="padding: 0; padding-right: 5px; text-align:center">
|
||||
<img src="https://ssl.gstatic.com/docs/documents/share/images/services/document-1.png"
|
||||
alt="Document"/>
|
||||
</td>
|
||||
<td valign="middle" height="32px" style="padding: 0;">I've shared <a
|
||||
href='https://docs.google.com/document/d/1kx48Yhpt01y2LZnIVGJNgKTg_IlvQMh=47R2NIwRn4Hg/edit'>Untitled
|
||||
document
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div style="font-size: 13px; background-color: #FFF; padding: 10px 7px 7px 7px;">
|
||||
Click to open:
|
||||
<ul style="list-style-type: none; padding: 0; margin: 0;">
|
||||
<li style="margin: 0;">
|
||||
<a href="https://docs.google.com/document/d/1kx48Yhpt01y2LZnIVG=JNgKTg_IlvQMh47R2NIwRn4Hg/edit">Untitled
|
||||
document</a></li>
|
||||
</ul>
|
||||
<span style="color: #898989;">Google Docs makes it easy to create, store and share online documents, spreadsheets and presentations.</span>
|
||||
|
||||
<div style="text-align: right;">
|
||||
<a href="https://docs.google.com">
|
||||
<img style="border: 0;margin-top: 10px;"
|
||||
src="https://ssl.gstatic.com/docs/documents/share/images/services/docs_logo-1.gif"
|
||||
alt="Logo for Google Docs"/>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -1,29 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<h3>Welcome to WiseMapping!</h3>
|
||||
|
||||
<p>
|
||||
To active your account and verify your e-mail address, please click on the following link.
|
||||
</p>
|
||||
<a href="${emailcheck}">${emailcheck}</a>
|
||||
</p>
|
||||
<p>
|
||||
If you have received this mail by error, you do not need to take any action to cancel the account. The account will
|
||||
not be activated, and you will not receive any futher emails.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If clicking the link above does not work, copy and paste the URL in a new browser window instead.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For questions or concerns regarding your account, send us an email to support@wisemapping.com.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Cheers, <br/>
|
||||
The WiseMapping Team.
|
||||
<a href="http://www.wisemapping.com">WiseMapping Site</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@@ -1,41 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<div style="background-color: #fbeed5; max-width: 650px; font-family: Arial, sans-serif; color: #000; padding: 5px;">
|
||||
<div style="height: 60px; font-size: 14px; font-weight: bold; padding-bottom: 4px;">
|
||||
<table style="display: inline;width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td height="50px" width="2px"
|
||||
style="padding: 0; padding-right: 5px; text-align:center;font-weight: normal;font-family: Arial, sans-serif">
|
||||
<a href="${baseUrl}">
|
||||
<img style="border: 0;margin-top: 10px;"
|
||||
src="${baseUrl}/images/logo-small.png"
|
||||
alt="WiseMapping Log"/>
|
||||
|
||||
</a>
|
||||
</td>
|
||||
<td valign="bottom" height="32px" style="padding: 0;font-size: 16px;">I've shared <a
|
||||
href='${mapEditUrl}'>
|
||||
${mindmap.title}</a> mindmap with you.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div style="font-size: 13px; background-color: #FFF; padding: 10px 7px 7px 7px; min-height: 100px">
|
||||
<p><strong>Message from ${senderMail}: </strong></p>
|
||||
#if($message )
|
||||
<pre style="font-family: Arial, sans-serif; color: #000; ">${message}</pre>
|
||||
#end
|
||||
<p>Click to open: <a href="${mapEditUrl}">${mindmap.title}</a></p>
|
||||
|
||||
<p style="color: #898989;">Do you have a WiseMapping account ?. Don't worry, you can create an account for
|
||||
free. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p style="font-size: 13px;font-family: Arial, sans-serif">Important: Do not reply this email. If
|
||||
you need further help or have any concerns regarding your account, contact us to <a href="mailto:${supportEmail}">here</a>.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@@ -1,37 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<div style="background-color: #fbeed5; max-width: 650px; font-family: Arial, sans-serif; color: #000; padding: 5px;">
|
||||
<div style="height: 60px; font-size: 14px; font-weight: bold; padding-bottom: 4px;">
|
||||
<table style="display: inline;width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td height="50px" width="2px"
|
||||
style="padding: 0; padding-right: 5px; text-align:center;font-weight: normal;font-family: Arial, sans-serif">
|
||||
<a href="${baseUrl}">
|
||||
<img style="border: 0;margin-top: 10px;"
|
||||
src="${baseUrl}/images/logo-small.png"
|
||||
alt="WiseMapping Log"/>
|
||||
|
||||
</a>
|
||||
</td>
|
||||
<td valign="bottom" height="32px" style="padding: 0;font-size: 16px;">
|
||||
Your password has been reset
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div style="font-size: 13px; background-color: #FFF; padding: 10px 7px 7px 7px; min-height: 100px">
|
||||
<p>A temporal password has been generated for you account. </p>
|
||||
|
||||
<p><strong>New Password: ${password}</strong></p>
|
||||
|
||||
<p>You can login clicking <a href="${baseUrl}/c/login">here</a>.We strongly encourage you to change the password as soon as possible.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p style="font-size: 13px;font-family: Arial, sans-serif">Important: Do not reply this email. If
|
||||
you need further help or have any concerns regarding your account, contact us to <a href="mailto:${supportEmail}">here</a>.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@@ -1,23 +0,0 @@
|
||||
<html>
|
||||
<body style="font-family: Arial, sans-serif; color: #000;">
|
||||
<p>
|
||||
Hi,
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Thank you so much for your interest in WiseMapping. Your subscription was a success! If you have any questions or
|
||||
have any feedback, please don't hesitate to reply to this email, or use the on line form. We'd love to hear from
|
||||
you.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For questions or concerns regarding your account, send us an email to ${supportEmail}.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Cheers, <br/>
|
||||
The WiseMapping Team.
|
||||
<a href="${baseUrl}">WiseMapping Site</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@@ -11,6 +11,7 @@ VIEWERS=Viewers
|
||||
ADD_VIEWERS=Add Viewers
|
||||
CURRENT_VIEWERS=Current Viewers
|
||||
USER_REGISTRATION=User Registration
|
||||
SEND_ME_A_NEW_PASSWORD=Send Me A New Password
|
||||
CANCEL=Cancel
|
||||
SUBMIT=Submit
|
||||
FIRSTNAME=Firstname
|
||||
@@ -19,6 +20,8 @@ EMAIL=Email
|
||||
HELP=Help
|
||||
LOGOUT=Logout
|
||||
PASSWORD=Password
|
||||
NEW_PASSWORD=New password
|
||||
CONFIRM_NEW_PASSWORD=Confirm new password
|
||||
MY_WISEMAPS=My Wisemaps
|
||||
SAVE_AND_CLOSE=Save and Close
|
||||
RETYPE_PASSWORD=Retype Password
|
||||
@@ -26,7 +29,7 @@ REGISTER=Register
|
||||
REMEMBER_ME=Stay signed in
|
||||
SIGN_IN=Sign In
|
||||
SIGN_UP=Sign Up
|
||||
SETTINGS=Settings
|
||||
ACCOUNT=Account
|
||||
USERNAME=Username
|
||||
BACK=Back
|
||||
CLOSE=Close
|
||||
@@ -39,7 +42,7 @@ ROLE=Role
|
||||
YOUR_ROLE=Your Role
|
||||
CAPTCHA= Word Verification
|
||||
FORGOT_PASSWORD=Forgot Password ?
|
||||
CHANGE_PASSWORD=Change your Password
|
||||
CHANGE_PASSWORD=Change Password
|
||||
FAQ=Frequent Asked Questions
|
||||
SHORT_FAQ=FAQ
|
||||
LOGIN=Login
|
||||
@@ -99,6 +102,7 @@ EMAIL_ALREADY_EXIST=Email already exists
|
||||
NO_VALID_EMAIL_ADDRESS=Invalid email address
|
||||
USERNAME_ALREADY_EXIST=Username already exists
|
||||
PASSWORD_MISSMATCH=Your password entries did not match
|
||||
CHANGE_PASSWORD_SUCCESS=Your password has been changed successfully.
|
||||
TYPE_CHARACTER_BELOW=Type the characters you see in the picture below.
|
||||
WISEMAPPING_ACCOUNT_MESSAGE=Please check the WiseMapping Account information you've entered above, and review the Terms of Service
|
||||
REGISTRATION_CLICK_ADVICE= By clicking on 'Register' below you are agreeing to the Terms of Service above and the Privacy Policy.
|
||||
@@ -139,7 +143,7 @@ INSERT=Insert
|
||||
WISE_IT=Wise It!
|
||||
EDITOR.LAST_SAVED=last modification by {0}
|
||||
SHARE_IT=Share It
|
||||
SETTINGS_DETAIL=Do you want to change you user options?. Here is the place.
|
||||
ACCOUNT_DETAIL=Do you want to change you user options?. Here is the place.
|
||||
SETTINGS_MSG=Please, select what option want to change from you profile:
|
||||
TAGS=Tags
|
||||
AVAILABLE_TAGS = Available tags
|
||||
|
@@ -25,7 +25,7 @@ REGISTER=Registración
|
||||
REMEMBER_ME=Recordar mi sesión
|
||||
SIGN_IN=Entrar
|
||||
SIGN_UP=Registrate
|
||||
SETTINGS=Configuración
|
||||
ACCOUNT=Configuración
|
||||
USERNAME=Nombre de usuario
|
||||
BACK=Atrás
|
||||
CLOSE=Cerrar
|
||||
@@ -141,7 +141,7 @@ INSERT=Insertar
|
||||
WISE_IT=Wise It!
|
||||
EDITOR.LAST_SAVED=ultima modificación hecha por {0}
|
||||
SHARE_IT=Compartilo
|
||||
SETTINGS_DETAIL=Desea cambiar sus preferencias? Este es el lugar.
|
||||
ACCOUNT_DETAIL=Desea cambiar sus preferencias? Este es el lugar.
|
||||
SETTINGS_MSG=Por favor, seleccione que opción desea modificar de su perfil:
|
||||
TAGS=Etiquetas
|
||||
AVAILABLE_TAGS = Etiquetas disponibles
|
||||
|
@@ -25,7 +25,7 @@ REGISTER = S\'inscrire
|
||||
REMEMBER_ME = M\u00e9moriser
|
||||
SIGN_IN = S\'identifier
|
||||
SIGN_UP = Se d\u00e9connecter
|
||||
SETTINGS = Param\u00e9tres du compte
|
||||
ACCOUNT = Param\u00e9tres du compte
|
||||
USERNAME = Pseudo
|
||||
BACK = Pr\u00e9c\u00e9dent
|
||||
CLOSE = Fermer
|
||||
@@ -145,7 +145,7 @@ INSERT = Ins\u00e9rer
|
||||
|
||||
EDITOR.LAST_SAVED = Derni\u00e9re modification par
|
||||
SHARE_IT = Partager
|
||||
SETTINGS_DETAIL = Souhaitez-vous modifier les options de votre profil ?
|
||||
ACCOUNT_DETAIL = Souhaitez-vous modifier les options de votre profil ?
|
||||
SETTINGS_MSG = S\u00e9lectionnez les options que vous souhaitez modifier dans votre profil
|
||||
TAGS = Mots-cl\u00e9s
|
||||
AVAILABLE_TAGS = Mots-cl\u00e9s disponibles
|
||||
|
@@ -94,10 +94,9 @@
|
||||
<put-attribute name="body" value="/jsp/mindmapDetail.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="setting" extends="dialogTemplate">
|
||||
<definition name="accountSettings" extends="dialogTemplate">
|
||||
<put-attribute name="title" value="SETTINGS"/>
|
||||
<put-attribute name="details" value="SETTINGS_MSG"/>
|
||||
<put-attribute name="body" value="/jsp/setting.jsp"/>
|
||||
<put-attribute name="body" value="/jsp/accountSettings.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="editProfile" extends="dialogTemplate">
|
||||
@@ -173,11 +172,4 @@
|
||||
<put-attribute name="details" value="KEYBOARD_MSG"/>
|
||||
<put-attribute name="body" value="/jsp/keyboard.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="changePassword" extends="dialogTemplate">
|
||||
<put-attribute name="title" value="CHANGE_PASSWORD"/>
|
||||
<put-attribute name="details" value="FIELD_REQUIRED_MSG"/>
|
||||
<put-attribute name="body" value="/jsp/changePassword.jsp"/>
|
||||
</definition>
|
||||
|
||||
</tiles-definitions>
|
||||
|
@@ -90,8 +90,7 @@
|
||||
<init-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>
|
||||
<!--/WEB-INF/wisemapping-servlet.xml-->
|
||||
/WEB-INF/wisemapping-nservlet.xml
|
||||
/WEB-INF/wisemapping-servlet.xml
|
||||
</param-value>
|
||||
</init-param>
|
||||
|
||||
|
@@ -1,97 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.1.xsd
|
||||
http://www.springframework.org/schema/mvc
|
||||
http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
|
||||
|
||||
<context:component-scan base-package="com.wisemapping.ncontroller"/>
|
||||
<context:annotation-config/>
|
||||
<mvc:annotation-driven/>
|
||||
|
||||
|
||||
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||
<property name="location" value="/WEB-INF/app.properties"/>
|
||||
</bean>
|
||||
|
||||
<bean id="exceptionHandlerResolver"
|
||||
class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
|
||||
<property name="defaultStatusCode" value="500"/>
|
||||
<property name="defaultErrorView" value="unexpectedError"/>
|
||||
<property name="exceptionMappings">
|
||||
<props>
|
||||
<prop key="com.wisemapping.exceptions.UnsupportedBrowserException">browserNotSupported</prop>
|
||||
<!-- Security exceptions are wrapped in this exceptions -->
|
||||
<prop key="java.lang.reflect.UndeclaredThrowableException">securityError</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
|
||||
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView"/>
|
||||
</bean>
|
||||
|
||||
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer">
|
||||
<property name="definitions">
|
||||
<list>
|
||||
<value>/WEB-INF/defs/definitions.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="localeResolver"
|
||||
class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
|
||||
<property name="defaultLocale" value="en"/>
|
||||
</bean>
|
||||
|
||||
<bean id="localeChangeInterceptor"
|
||||
class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
|
||||
<property name="paramName" value="language"/>
|
||||
</bean>
|
||||
|
||||
<bean id="reCaptcha" class="net.tanesha.recaptcha.ReCaptchaImpl">
|
||||
<property name="privateKey" value="${registration.recaptcha.privateKey}"/>
|
||||
<property name="publicKey" value="${registration.recaptcha.publicKey}"/>
|
||||
<property name="includeNoscript" value="false"/>
|
||||
</bean>
|
||||
|
||||
<bean id="multipartResolver"
|
||||
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
||||
<!-- one of the properties available; the maximum file size in bytes -->
|
||||
<property name="maxUploadSize" value="522240"/>
|
||||
</bean>
|
||||
|
||||
<bean id="browserSupportInterceptor" class="com.wisemapping.filter.BrowserSupportInterceptor">
|
||||
<property name="exclude">
|
||||
<list>
|
||||
<value>/</value>
|
||||
<value>/index.jsp</value>
|
||||
<value>/c/home</value>
|
||||
<value>/c/login</value>
|
||||
<value>/c/user/registration</value>
|
||||
<value>/c/captcha</value>
|
||||
<value>/c/publicView</value>
|
||||
<value>/service/*</value>
|
||||
<value>/c/search</value>
|
||||
<value>/c/keyboard</value>
|
||||
<value>/c/renameMap</value>
|
||||
<value>/c/embeddedView</value>
|
||||
<value>/c/user/resetPassword</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
|
||||
<property name="basenames">
|
||||
<list>
|
||||
<value>messages</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
</beans>
|
@@ -1,51 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.1.xsd
|
||||
http://www.springframework.org/schema/mvc
|
||||
http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
|
||||
|
||||
<beans>
|
||||
<context:component-scan base-package="com.wisemapping.ncontroller"/>
|
||||
<context:annotation-config/>
|
||||
<mvc:annotation-driven/>
|
||||
|
||||
<bean id="userValidator" class="com.wisemapping.validator.UserValidator">
|
||||
<property name="userService" ref="userService"/>
|
||||
<property name="captchaService" ref="reCaptcha"/>
|
||||
|
||||
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||
<property name="location" value="/WEB-INF/app.properties"/>
|
||||
</bean>
|
||||
|
||||
<bean id="settingResolver" class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
|
||||
<property name="mappings">
|
||||
<bean id="exceptionHandlerResolver"
|
||||
class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
|
||||
<property name="defaultStatusCode" value="500"/>
|
||||
<property name="defaultErrorView" value="unexpectedError"/>
|
||||
<property name="exceptionMappings">
|
||||
<props>
|
||||
<prop key="settings">settings</prop>
|
||||
<prop key="com.wisemapping.exceptions.UnsupportedBrowserException">browserNotSupported</prop>
|
||||
<!-- Security exceptions are wrapped in this exceptions -->
|
||||
<prop key="java.lang.reflect.UndeclaredThrowableException">securityError</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="settingsController" class="com.wisemapping.controller.SettingsController">
|
||||
<property name="methodNameResolver" ref="settingResolver"/>
|
||||
<bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
|
||||
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView"/>
|
||||
</bean>
|
||||
|
||||
<bean id="changePasswordValidator" class="com.wisemapping.validator.ChangePasswordValidator"/>
|
||||
<bean id="changePasswordController" class="com.wisemapping.controller.ChangePasswordController">
|
||||
<property name="sessionForm" value="false"/>
|
||||
<property name="commandName" value="changePassword"/>
|
||||
<property name="commandClass" value="com.wisemapping.view.ChangePasswordBean"/>
|
||||
<property name="validator" ref="changePasswordValidator"/>
|
||||
<property name="formView" value="changePassword"/>
|
||||
<property name="successView" value="closeDialog"/>
|
||||
<property name="userService" ref="userService"/>
|
||||
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer">
|
||||
<property name="definitions">
|
||||
<list>
|
||||
<value>/WEB-INF/defs/definitions.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="editProfileValidator" class="com.wisemapping.validator.EditProfileValidator">
|
||||
<property name="userService" ref="userService"/>
|
||||
<bean id="localeResolver"
|
||||
class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
|
||||
<property name="defaultLocale" value="en"/>
|
||||
</bean>
|
||||
|
||||
<bean id="editProfileController" class="com.wisemapping.controller.EditProfileController">
|
||||
<property name="sessionForm" value="false"/>
|
||||
<property name="commandName" value="editProfile"/>
|
||||
<property name="commandClass" value="com.wisemapping.view.UserBean"/>
|
||||
<property name="validator" ref="editProfileValidator"/>
|
||||
<property name="formView" value="editProfile"/>
|
||||
<property name="successView" value="closeDialog"/>
|
||||
<property name="userService" ref="userService"/>
|
||||
<bean id="localeChangeInterceptor"
|
||||
class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
|
||||
<property name="paramName" value="language"/>
|
||||
</bean>
|
||||
|
||||
<bean id="activationController" class="com.wisemapping.controller.ActivationController">
|
||||
<property name="userService" ref="userService"/>
|
||||
<bean id="reCaptcha" class="net.tanesha.recaptcha.ReCaptchaImpl">
|
||||
<property name="privateKey" value="${registration.recaptcha.privateKey}"/>
|
||||
<property name="publicKey" value="${registration.recaptcha.publicKey}"/>
|
||||
<property name="includeNoscript" value="false"/>
|
||||
</bean>
|
||||
ans>
|
||||
|
||||
<bean id="multipartResolver"
|
||||
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
||||
<!-- one of the properties available; the maximum file size in bytes -->
|
||||
<property name="maxUploadSize" value="522240"/>
|
||||
</bean>
|
||||
|
||||
<bean id="browserSupportInterceptor" class="com.wisemapping.filter.BrowserSupportInterceptor">
|
||||
<property name="exclude">
|
||||
<list>
|
||||
<value>/</value>
|
||||
<value>/index.jsp</value>
|
||||
<value>/c/home</value>
|
||||
<value>/c/login</value>
|
||||
<value>/c/user/registration</value>
|
||||
<value>/c/captcha</value>
|
||||
<value>/c/publicView</value>
|
||||
<value>/service/*</value>
|
||||
<value>/c/search</value>
|
||||
<value>/c/keyboard</value>
|
||||
<value>/c/renameMap</value>
|
||||
<value>/c/embeddedView</value>
|
||||
<value>/c/user/resetPassword</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
|
||||
<property name="basenames">
|
||||
<list>
|
||||
<value>messages</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
</beans>
|
Reference in New Issue
Block a user