litesoft
Diff Revisions
631
vs
632
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/fieldsupport/AbstractGeneratedStringInputField.java
|
@@ -6,8 +6,6 @@ |
6 |
6 |
|
public abstract class AbstractGeneratedStringInputField<C extends AbstractGeneratedStringInputField<C>> extends AbstractGeneratedInputField<String, C> { |
7 |
7 |
|
private Integer maxLength; |
8 |
8 |
|
|
9 |
|
- |
// The above must be set/changed BEFORE the widget is attached! |
10 |
|
- |
|
11 |
9 |
|
public final Integer getMaxLength() { |
12 |
10 |
|
return maxLength; |
13 |
11 |
|
} |
|
@@ -27,6 +25,8 @@ |
27 |
25 |
|
this.maxLength = maxLength; |
28 |
26 |
|
} |
29 |
27 |
|
|
|
28 |
+ |
// The above must be set/changed BEFORE the widget is attached! |
|
29 |
+ |
|
30 |
30 |
|
@Override |
31 |
31 |
|
protected void augmentValidator(InputWidgetValidator<String> validator) { |
32 |
32 |
|
if (maxLength != null) { |