litesoft
Diff Revisions
956
vs
957
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/NewUserEmailDialog.java
|
@@ -2,7 +2,6 @@ |
2 |
2 |
|
|
3 |
3 |
|
import org.litesoft.GWT.client.*; |
4 |
4 |
|
import org.litesoft.GWT.client.widgets.*; |
5 |
|
- |
import org.litesoft.GWT.forms.client.*; |
6 |
5 |
|
import org.litesoft.bo.views.*; |
7 |
6 |
|
import org.litesoft.commonfoundation.base.*; |
8 |
7 |
|
import org.litesoft.core.util.*; |
|
@@ -17,10 +16,13 @@ |
17 |
16 |
|
|
18 |
17 |
|
private CallBack mCallBack; |
19 |
18 |
|
|
20 |
|
- |
public NewUserEmailDialog( String pLogonEmail, String pPhoneNumber, CallBack pCallBack, QBEinputPanelAccessorFactory<T> pUserFieldsPanelFactory ) { |
|
19 |
+ |
public NewUserEmailDialog( String pLogonEmail, String pPhoneNumber, CallBack pCallBack, |
|
20 |
+ |
QBEinputPanelAccessorFactory<T> pUserFieldsPanelFactory ) { |
21 |
21 |
|
super( title( "New User" ), pLogonEmail, pPhoneNumber, null, pUserFieldsPanelFactory ); |
22 |
22 |
|
Confirm.isNotNull( "CallBack", mCallBack = pCallBack ); |
23 |
23 |
|
|
|
24 |
+ |
initializeFormInfrastructure( null ); |
|
25 |
+ |
|
24 |
26 |
|
add( new SizeableSpacer( 5 ).stretchable() ); |
25 |
27 |
|
add( createLogonEmail() ); |
26 |
28 |
|
add( new SizeableSpacer( 5 ).stretchable() ); |
|
@@ -29,14 +31,11 @@ |
29 |
31 |
|
@Override |
30 |
32 |
|
public void aboutToShow() { |
31 |
33 |
|
super.aboutToShow(); |
32 |
|
- |
mFE.initialize(); |
33 |
34 |
|
mFE.setNamedComponentValueAsUser( SecurityUserViewNames.aLogonEmail, mLogonEmail ); |
34 |
35 |
|
} |
35 |
36 |
|
|
36 |
37 |
|
private Widget createLogonEmail() { |
37 |
|
- |
FormBinder<T> zFormBinder = new FormBinder<T>( mFE, mUserViewMetaData ); |
38 |
|
- |
|
39 |
|
- |
return zFormBinder.add( SecurityUserViewNames.aLogonEmail ); |
|
38 |
+ |
return mFormBinder.add( SecurityUserViewNames.aLogonEmail ); |
40 |
39 |
|
} |
41 |
40 |
|
|
42 |
41 |
|
@Override |