Hi, I need to do a user register, but than can be redirected to a specific page, not to dashboard or another Home page...
Can I do that???
please help thnx.
You could use a Servlet Filter on the page they go to for successful registration :)
I've used the code below to set the user's site homepage. Hopefully can point you in the right direction
UserPreferences userPreferences = new UserPreferences(userAccessor.getPropertySet(user)); userPreferences.setString(UserPreferencesKeys.PROPERTY_USER_SITE_HOMEPAGE, userDetails.getHomeSpaceKey());
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it doesn't work to me, I need send a parameter to "register.action" with the url after register... like the "os_location" used in "login.action".... do you understand???????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ah sorry, mis-read your post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.