this.registeredEvent.fire(new RegisteredUserEvent(registeredUser));
// All fine, redirect to proper page
- return "register_done"; //NOI18N
+ return "user_register_done"; //NOI18N
} catch (final UserNameAlreadyRegisteredException | EmailAddressAlreadyRegisteredException ex) {
// Continue to throw
throw new FaceletException(ex);
}
// Now only redirect to next page as the JSF does it
- return "register_page2"; //NOI18N
+ return "user_register_page2"; //NOI18N
}
}
<navigation-rule>
<from-view-id>/guest/user/user_register.xhtml</from-view-id>
<navigation-case>
- <from-outcome>register_done</from-outcome>
+ <from-outcome>user_register_done</from-outcome>
<to-view-id>/guest/user/user_register_done.xhtml</to-view-id>
</navigation-case>
<navigation-case>
- <from-outcome>register_page2</from-outcome>
+ <from-outcome>user_register_page2</from-outcome>
<to-view-id>/guest/user/user_register_page2.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/guest/user/user_register_page2.xhtml</from-view-id>
<navigation-case>
- <from-outcome>register_done</from-outcome>
+ <from-outcome>user_register_done</from-outcome>
<to-view-id>/guest/user/user_register_done.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/user/login_own_addressbooks.xhtml</from-view-id>
<navigation-case>
- <from-outcome>register_page2</from-outcome>
+ <from-outcome>user_register_page2</from-outcome>
<to-view-id>/guest/user/user_register_page2.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<from-view-id>/user/login_change_password.xhtml</from-view-id>
<navigation-case>
<from-outcome>user_data_saved</from-outcome>
- <to-view-id>/user/login/login_data_saved.xhtml</to-view-id>
+ <to-view-id>/user/login_data_saved.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/user/login_change_email_address.xhtml</from-view-id>
<navigation-case>
- <from-outcome>contact_data_saved</from-outcome>
+ <from-outcome>user_contact_data_saved</from-outcome>
<to-view-id>/user/login_contact_data_saved.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<navigation-rule>
<from-view-id>/user/login_change_personal_data.xhtml</from-view-id>
<navigation-case>
- <from-outcome>contact_data_saved</from-outcome>
- <to-view-id>/user/login/login_data_saved.xhtml</to-view-id>
- </navigation-case>
- <navigation-case>
- <from-outcome>admin_delete_category</from-outcome>
- <to-view-id>/admin/admin_category_delete.xhtml</to-view-id>
+ <from-outcome>user_data_saved</from-outcome>
+ <to-view-id>/user/login_data_saved.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>