This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--User registration

Information about development with ProjX.

--User registration

Postby Development@SIB » Wed Jan 23, 2013 1:02 pm



This article is outdated - please use our new system at

https://doc.sibvisions.com




The login screen of ProjX has a button for user registration. This button is usually not visible. If you want to add user registration for your application, simply show the button and add your registration screen.

To show the button, simply set:

Code: Select all
<Application.Login.register>true</Application.Login.register>

This setting only shows the register button in the login screen and calls the method

Code: Select all
public void doRegister(UIActionEvent pEvent) throws Throwable

of your application (you should extend ProjX). In your application you have to show your own user registration screen, like:

Code: Select all
@Override
public void doRegister(UIActionEvent pEvent) throws Throwable
{
   RegistrationWorkScreen rwsRegister = new RegistrationWorkScreen(this, conAnonymous);
      
   openContent(this, "Registration", true, rwsRegister);
}


The login screen with "register" button:

login_register.png
login_register.png (23.13 KiB) Viewed 3586 times


A registration screen:

user_registration.png
user_registration.png (130.81 KiB) Viewed 3586 times
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation