summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-03-07 01:29:31 (EST)
committerManik Kishore2012-06-19 07:10:49 (EDT)
commit7b9e5f12fa7d1eb95fce639d82ed7348986ec139 (patch)
treedd9e53cc090a84c94641c7d31e75e9b2ed8fbf6d
parent3616568e9ec966e22ebf8e50eac3424f352558b1 (diff)
downloadorg.eclipse.stardust.ui.common-7b9e5f12fa7d1eb95fce639d82ed7348986ec139.zip
org.eclipse.stardust.ui.common-7b9e5f12fa7d1eb95fce639d82ed7348986ec139.tar.gz
org.eclipse.stardust.ui.common-7b9e5f12fa7d1eb95fce639d82ed7348986ec139.tar.bz2
Jira-ID: CRNT-24021
1)Changed style for .form-panel-number-input in stardust-ui-form-jsf.css by setting width=200px; 2)Removed the code added for Bypasssing style for Double and Float in evaluateInputTextPreferences() git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.common@54347 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-ui-form-jsf/src/main/java/org/eclipse/stardust/ui/common/form/jsf/JsfFormGenerator.java2
-rw-r--r--stardust-ui-form-jsf/src/main/resources/META-INF/webapp/public/css/stardust-ui-form-jsf.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/stardust-ui-form-jsf/src/main/java/org/eclipse/stardust/ui/common/form/jsf/JsfFormGenerator.java b/stardust-ui-form-jsf/src/main/java/org/eclipse/stardust/ui/common/form/jsf/JsfFormGenerator.java
index 6e8d89e..a18a8f9 100644
--- a/stardust-ui-form-jsf/src/main/java/org/eclipse/stardust/ui/common/form/jsf/JsfFormGenerator.java
+++ b/stardust-ui-form-jsf/src/main/java/org/eclipse/stardust/ui/common/form/jsf/JsfFormGenerator.java
@@ -652,7 +652,7 @@ public class JsfFormGenerator extends FormGenerator
}
else
{
- if (path.isNumber() && ((path.getJavaClass() != Float.class) && (path.getJavaClass() != Double.class)))
+ if (path.isNumber())
{
inputText.setStyleClass("form-panel-number-input");
}
diff --git a/stardust-ui-form-jsf/src/main/resources/META-INF/webapp/public/css/stardust-ui-form-jsf.css b/stardust-ui-form-jsf/src/main/resources/META-INF/webapp/public/css/stardust-ui-form-jsf.css
index 37337fd..bbe00e4 100644
--- a/stardust-ui-form-jsf/src/main/resources/META-INF/webapp/public/css/stardust-ui-form-jsf.css
+++ b/stardust-ui-form-jsf/src/main/resources/META-INF/webapp/public/css/stardust-ui-form-jsf.css
@@ -114,7 +114,7 @@
.form-panel-number-input
{
- width: 125px;
+ width: 200px;
border: 1px solid #aaaaaa;
text-align: right;
}