litesoft
Diff Revisions
49
vs
60
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/AbstractNumericRequireableAttributeAdapter.java
|
@@ -1,12 +1,13 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.forms.client.nonpublic; |
3 |
3 |
|
|
|
4 |
+ |
import java.io.*; |
|
5 |
+ |
|
4 |
6 |
|
import org.litesoft.GWT.client.*; |
5 |
7 |
|
import org.litesoft.GWT.forms.client.components.impls.input.*; |
6 |
8 |
|
import org.litesoft.core.simpletypes.*; |
7 |
9 |
|
import org.litesoft.core.simpletypes.nonpublic.*; |
8 |
10 |
|
import org.litesoft.core.util.*; |
9 |
|
- |
import org.litesoft.rpcpassable.*; |
10 |
11 |
|
import org.litesoft.ui.def.nonpublic.*; |
11 |
12 |
|
import org.litesoft.ui.def.nonpublic.support.*; |
12 |
13 |
|
import org.litesoft.uispecification.*; |
|
@@ -76,7 +77,7 @@ |
76 |
77 |
|
} |
77 |
78 |
|
} |
78 |
79 |
|
|
79 |
|
- |
protected String transformErrorText( String pErrorText, RPCpassable pSendableCurrentValue, |
|
80 |
+ |
protected String transformErrorText( String pErrorText, Serializable pSendableCurrentValue, |
80 |
81 |
|
Object pComponentCurrentValue ) |
81 |
82 |
|
{ |
82 |
83 |
|
if ( null == (pErrorText = UtilsCommon.noEmpty( pErrorText )) ) |
|
@@ -88,7 +89,7 @@ |
88 |
89 |
|
pComponentCurrentValue ); |
89 |
90 |
|
} |
90 |
91 |
|
|
91 |
|
- |
protected Object convertSendableToComponentValue( RPCpassable pValue ) |
|
92 |
+ |
protected Object convertSendableToComponentValue( Serializable pValue ) |
92 |
93 |
|
{ |
93 |
94 |
|
try |
94 |
95 |
|
{ |
|
@@ -105,7 +106,7 @@ |
105 |
106 |
|
return null; |
106 |
107 |
|
} |
107 |
108 |
|
|
108 |
|
- |
protected RPCpassable convertComponentValueToSendable( Object pValue ) |
|
109 |
+ |
protected Serializable convertComponentValueToSendable( Object pValue ) |
109 |
110 |
|
{ |
110 |
111 |
|
try |
111 |
112 |
|
{ |
|
@@ -123,7 +124,7 @@ |
123 |
124 |
|
return null; |
124 |
125 |
|
} |
125 |
126 |
|
|
126 |
|
- |
abstract protected RPCpassable LLconvertNonNullComponentValueToSendable( String pCleanedValue ); |
|
127 |
+ |
abstract protected Serializable LLconvertNonNullComponentValueToSendable( String pCleanedValue ); |
127 |
128 |
|
|
128 |
129 |
|
private DecimalToStringParts convert( Object pValue ) |
129 |
130 |
|
throws IllegalArgumentException |