eb_SignUp Class
SignUp class.
Item Index
Methods
eb_SignUp.callSignUpService
-
model
Sign up method. After success, call login service with user name and password.
Parameters:
-
model
ObjectInstance of eb_SignUp.model
Returns:
Login promise object.
eb_SignUp.domElement
-
domElement
page DOM element.
Parameters:
-
domElement
Objectcurrent DOM element.
eb_SignUp.model
-
data
-
domElement
-
userContext
Sign-Up model responsible to all sign up operations.
Parameters:
-
data
ObjectObject of sign up data.
-
domElement
ObjectSign up DOM element.
-
userContext
ObjectInstance of eb_UserContext.model.
eb_SignUp.render
-
domElement
-
templatePath
Responsible for pulling the HTML source for this control. Template Path is optional. If none is provided, the default for the control is used.
Parameters:
-
domElement
ObjectDOM object of sign up page.
-
templatePath
StringSign-up template URL.
Returns:
Sign up HTML template.
Properties
eb_SignUp.defaultErrorMessage
String
Default error message.
eb_SignUp.defaultRedirectPage
String
Default page after successful sign-up.
Default: ProductCatalog.html.
eb_SignUp.errorResponses
Object
Globally defined error codes object for the control. Every error code should have boolean 'useServerMessage' attribute, which when true suggests we are showing service error message on the UI. If the 'useServerMessage' is defined as false, then provide another attribute 'frontEndMessage' with the error string which will be shown on UI. If 'useServerMessage' is false and 'frontEndMessage' is not defined, default error message will be shown. If service error response contains error code not defined in this object then default error message will be shown.
eb_SignUp.loginPageURL
String
Login page for redirection.
Default: Login.html.
eb_SignUp.ServicePath
String
SOA path. It would be set from configuration file.
eb_SignUp.SitePath
String
Site path. It would be set from configuration file.
eb_SignUp.TemplatePath
String
Sign up control template path.
eb_SignUp.UserRegistration
String
User registration service URL.