AnsweredAssumed Answered

Create a register page in alfresco share

Question asked by thinhnk on Jan 20, 2013
I want to have a register page for alfresco share. I add a new page to alfresco ant put a form in it. The form similar to
<form method="POST" action="register">
<label>User Name:</label>
<input type="text" name="username"/>
<input type="password" name="username"/>
Then I create a RegisterController. In it, I login as admin role then create new account for alfresco. Then I config custom-slingshot-application-context.xml and put it into C:\Alfresco\tomcat\shared\classes\alfresco\web-extension
<?xml version='1.0' encoding='UTF-8'?>
<beans xmlns=""
    <bean id="webframeworkHandlerMappings" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping" abstract="true">
        <property name="urlPathHelper" ref="urlPathHelper" />
        <property name="pathMatcher" ref="pathMatcher" />
        <property name="interceptors">
                <ref bean="requestContextInterceptor"/>
                <ref bean="userDashboardInterceptor"/>
                <ref bean="editionInterceptor"/>
        <property name="mappings">
   <bean id="registerController" class="metadata.registration.RegisterController">
   <bean id="testController" class="metadata.registration.TestController">
I also take a TestController to check if the java code is active. It is coppied from LoginCtroller, and it seem to work. But when I call Register Controller from the form, nothing happens. Did I so anything wrong. Thanks you for your helpful.