litesoft
Diff Revisions
479
vs
480
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ui/views/NewUserEmailDialog.java
|
@@ -7,6 +7,7 @@ |
7 |
7 |
|
import org.litesoft.bo.views.*; |
8 |
8 |
|
import org.litesoft.core.util.*; |
9 |
9 |
|
import org.litesoft.prioritizer.client.boviews.*; |
|
10 |
+ |
import org.litesoft.security.*; |
10 |
11 |
|
|
11 |
12 |
|
import com.google.gwt.user.client.ui.*; |
12 |
13 |
|
|
|
@@ -53,7 +54,7 @@ |
53 |
54 |
|
|
54 |
55 |
|
if ( zLogonEmail != null ) |
55 |
56 |
|
{ |
56 |
|
- |
mDataProvider.validateLogonEmailAvailable( zLogonEmail, new FetchRowDataProviderCallBack<UserView>() |
|
57 |
+ |
mDataProvider.validateLogonEmailAvailable( zLogonEmail, new FetchRowDataProviderCallBack<SecurityUserView>() |
57 |
58 |
|
{ |
58 |
59 |
|
@Override |
59 |
60 |
|
public void error( String pError ) |
|
@@ -62,7 +63,7 @@ |
62 |
63 |
|
} |
63 |
64 |
|
|
64 |
65 |
|
@Override |
65 |
|
- |
public void success( UserView pRow ) |
|
66 |
+ |
public void success( SecurityUserView pRow ) |
66 |
67 |
|
{ |
67 |
68 |
|
if ( pRow == null ) // No row found, Go on to Add User |
68 |
69 |
|
{ |
|
@@ -73,11 +74,11 @@ |
73 |
74 |
|
if ( mPhoneNumber.equals( pRow.getPhoneNumber() ) ) // User found with same Logon & same entered PhoneNumber: Go on to Add User |
74 |
75 |
|
{ |
75 |
76 |
|
close(); |
76 |
|
- |
mCallBack.succeeded( (String) mFE.getNamedComponentValue( UserViewNames.aLogonEmail ), pRow ); |
|
77 |
+ |
mCallBack.succeeded( (String) mFE.getNamedComponentValue( UserViewNames.aLogonEmail ), (UserView)pRow ); |
77 |
78 |
|
return; |
78 |
79 |
|
} |
79 |
|
- |
mUserView = pRow; |
80 |
|
- |
new DialogViewDialog( new NewUserPhoneConfirmationDialog( mLogonEmail, mPhoneNumber, pRow, NewUserEmailDialog.this ) ).show(); |
|
80 |
+ |
mUserView = (UserView)pRow; |
|
81 |
+ |
new DialogViewDialog( new NewUserPhoneConfirmationDialog( mLogonEmail, mPhoneNumber, (UserView)pRow, NewUserEmailDialog.this ) ).show(); |
81 |
82 |
|
} |
82 |
83 |
|
} ); |
83 |
84 |
|
} |