summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-05-24 01:36:16 (EDT)
committer Manik Kishore2012-06-19 07:11:48 (EDT)
commit2c7a1a2ac38ba1d2e3387c95762925ea063c4dc9 (patch)
tree0965566de1db1d895c7efcdc369a1d0f91adf341
parentb804dd3943ce7dd59a21e30babc930e748aae303 (diff)
downloadorg.eclipse.stardust.ui.common-2c7a1a2ac38ba1d2e3387c95762925ea063c4dc9.zip
org.eclipse.stardust.ui.common-2c7a1a2ac38ba1d2e3387c95762925ea063c4dc9.tar.gz
org.eclipse.stardust.ui.common-2c7a1a2ac38ba1d2e3387c95762925ea063c4dc9.tar.bz2
Jira-ID: CRNT-24811
-Set max-length for String type and unknown Data Type to zero in FormGenerator#mapMaxLength() git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.common@56533 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-ui-form/src/main/java/org/eclipse/stardust/ui/common/form/FormGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/stardust-ui-form/src/main/java/org/eclipse/stardust/ui/common/form/FormGenerator.java b/stardust-ui-form/src/main/java/org/eclipse/stardust/ui/common/form/FormGenerator.java
index c3b774c..eb822a1 100644
--- a/stardust-ui-form/src/main/java/org/eclipse/stardust/ui/common/form/FormGenerator.java
+++ b/stardust-ui-form/src/main/java/org/eclipse/stardust/ui/common/form/FormGenerator.java
@@ -125,7 +125,7 @@ public abstract class FormGenerator
{
if (type == String.class)
{
- return 50;
+ return 0; // Infinite Length
}
else if (type == Integer.class)
{
@@ -157,7 +157,7 @@ public abstract class FormGenerator
}
else
{
- return 30;
+ return 0;
}
}