|
@@ -1,6 +1,8 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.forms.client; |
3 |
3 |
|
|
|
4 |
+ |
import java.io.*; |
|
5 |
+ |
|
4 |
6 |
|
import org.litesoft.GWT.client.widgets.*; |
5 |
7 |
|
import org.litesoft.GWT.eventbus.client.*; |
6 |
8 |
|
import org.litesoft.GWT.forms.client.components.factories.*; |
|
@@ -8,7 +10,6 @@ |
8 |
10 |
|
import org.litesoft.GWT.forms.client.components.nonpublic.*; |
9 |
11 |
|
import org.litesoft.GWT.forms.client.nonpublic.*; |
10 |
12 |
|
import org.litesoft.core.util.*; |
11 |
|
- |
import org.litesoft.rpcpassable.*; |
12 |
13 |
|
import org.litesoft.ui.def.*; |
13 |
14 |
|
import org.litesoft.ui.def.nonpublic.support.*; |
14 |
15 |
|
import org.litesoft.ui.support.*; |
|
@@ -25,7 +26,7 @@ |
25 |
26 |
|
public class UiFormHandler |
26 |
27 |
|
{ |
27 |
28 |
|
public UiFormHandler( UiFormDef pUiFormDef, SizeableSingleWidgetContainer pTargetContainer, |
28 |
|
- |
RPCpassable pInitializationPayload, |
|
29 |
+ |
Serializable pInitializationPayload, |
29 |
30 |
|
AsyncFormServicePeerChannel pFormServicePeerChannel, UiFormListener pListener ) |
30 |
31 |
|
{ |
31 |
32 |
|
this( pUiFormDef, pTargetContainer, pInitializationPayload, BaseFormComponentFactory.INSTANCE, // |
|
@@ -33,7 +34,7 @@ |
33 |
34 |
|
} |
34 |
35 |
|
|
35 |
36 |
|
public UiFormHandler( UiFormDef pUiFormDef, SizeableSingleWidgetContainer pTargetContainer, |
36 |
|
- |
RPCpassable pInitializationPayload, FormComponentFactory pFormComponentFactory, |
|
37 |
+ |
Serializable pInitializationPayload, FormComponentFactory pFormComponentFactory, |
37 |
38 |
|
AsyncFormServicePeerChannel pFormServicePeerChannel, UiFormListener pListener ) |
38 |
39 |
|
{ |
39 |
40 |
|
this( pUiFormDef, pTargetContainer, pInitializationPayload, |
|
@@ -45,7 +46,7 @@ |
45 |
46 |
|
private RenderedFormHandler mRenderedFormHandler; |
46 |
47 |
|
|
47 |
48 |
|
public UiFormHandler( UiFormDef pUiFormDef, SizeableSingleWidgetContainer pTargetContainer, |
48 |
|
- |
RPCpassable pInitializationPayload, |
|
49 |
+ |
Serializable pInitializationPayload, |
49 |
50 |
|
BaseFormRendererFactory pBaseFormRendererFactory, |
50 |
51 |
|
AsyncFormServicePeerChannel pFormServicePeerChannel, UiFormListener pListener ) |
51 |
52 |
|
{ |
|
@@ -105,7 +106,7 @@ |
105 |
106 |
|
|
106 |
107 |
|
public void sendAttibuteValue( FormDataRowKey pFormDataRowKey, // |
107 |
108 |
|
Integer pAttributeUniqueID, String pAttributeReference, |
108 |
|
- |
RPCpassable pCurrentValue ) |
|
109 |
+ |
Serializable pCurrentValue ) |
109 |
110 |
|
{ |
110 |
111 |
|
mRenderedFormHandler.sendAttibuteValue( pFormDataRowKey, // |
111 |
112 |
|
pAttributeUniqueID, pAttributeReference, // |
|
@@ -161,7 +162,7 @@ |
161 |
162 |
|
mTargetContainer = pTargetContainer; |
162 |
163 |
|
} |
163 |
164 |
|
|
164 |
|
- |
public void metaDataAvailable( FormMetaData pFormMetaData, RPCpassable pServicePeerXtra ) |
|
165 |
+ |
public void metaDataAvailable( FormMetaData pFormMetaData, Serializable pServicePeerXtra ) |
165 |
166 |
|
{ |
166 |
167 |
|
AbstractFormContainer zFormContainer = |
167 |
168 |
|
mBaseFormRendererFactory.createAndRender( mRenderedFormHandler, // |