You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by de...@apache.org on 2017/09/17 18:05:25 UTC

[myfaces-trinidad-maven] branch 1.2.8.1-branch created (now 6616bda)

This is an automated email from the ASF dual-hosted git repository.

deki pushed a change to branch 1.2.8.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git.


      at 6616bda  Oops. restoring the branches.  It was not supposed to be deleted.

This branch includes the following new commits:

     new 32b9def  
     new 7721172  removing not needed syso
     new 47c7a56  TRINIDAD-1366 - client percent convertnumber not work well in fr_fr
     new 581c9fa  updating versions to make clear this branch is a *snapshot*
     new 6616bda  Oops. restoring the branches.  It was not supposed to be deleted.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].

[myfaces-trinidad-maven] 03/05: TRINIDAD-1366 - client percent convertnumber not work well in fr_fr

Posted by de...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1.2.8.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git

commit 47c7a564e856194baae0a0dcc56abf58285424af
Author: Matthias Wessendorf <ma...@apache.org>
AuthorDate: Sun Jan 18 23:44:39 2009 +0000

    TRINIDAD-1366 - client percent convertnumber not work well in fr_fr
    
    committed first part of the patch. The i18n plugin needs to generate
    PercentElements in order to support this
---
 .../i18n/uixtools/JSLocaleElementsGenerator.java       | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/maven-i18n-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/i18n/uixtools/JSLocaleElementsGenerator.java b/maven-i18n-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/i18n/uixtools/JSLocaleElementsGenerator.java
index b6cded9..635897c 100644
--- a/maven-i18n-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/i18n/uixtools/JSLocaleElementsGenerator.java
+++ b/maven-i18n-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/i18n/uixtools/JSLocaleElementsGenerator.java
@@ -415,8 +415,10 @@ public class JSLocaleElementsGenerator
 
         Object data = null;
 
-        if("CurrencyElements".equals(currKey))
+        if ("CurrencyElements".equals(currKey))
           data = _getCurrencyData(targetLocale);
+        else if ("PercentElements".equals(currKey))
+          data = _getPercentData(targetLocale);
         else
           data = LocaleDataResolver.getElementData(currKey, targetLocale);
 
@@ -454,6 +456,19 @@ public class JSLocaleElementsGenerator
 
     return currencyData;
   }
+  
+  private static Object _getPercentData(
+    Locale targetLocale)
+  {
+    DecimalFormat df = (DecimalFormat)NumberFormat.getPercentInstance(targetLocale);
+    Object[] percentData = new Object[2];
+    percentData[0] = df.getPositiveSuffix();
+    percentData[1] = df.getNegativeSuffix();
+    //percentData[2] = df.getPositivePrefix();
+    //percentData[3] = df.getNegativePrefix();  
+
+    return percentData;
+  }
 
   private static Object _getElementData(
     String currKey,
@@ -713,6 +728,7 @@ public class JSLocaleElementsGenerator
     "DateTimeElements",
     "NumberElements",
     "CurrencyElements",
+    "PercentElements"
   };
 
   //

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.

[myfaces-trinidad-maven] 01/05:

Posted by de...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1.2.8.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git

commit 32b9defb489e165b16da6d0a09d4a2c83cc8ac5e
Author: Matthias Wessendorf <ma...@apache.org>
AuthorDate: Sun Jan 18 23:42:01 2009 +0000

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.

[myfaces-trinidad-maven] 02/05: removing not needed syso

Posted by de...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1.2.8.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git

commit 77211727bb6007c3e9d38487ec5e5346ced4fb1c
Author: Matthias Wessendorf <ma...@apache.org>
AuthorDate: Sun Jan 18 23:44:05 2009 +0000

    removing not needed syso
---
 .../apache/myfaces/trinidadbuild/plugin/faces/parse/ComponentBean.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/ComponentBean.java b/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/ComponentBean.java
index 138a344..80042fb 100644
--- a/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/ComponentBean.java
+++ b/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/ComponentBean.java
@@ -499,8 +499,6 @@ public class ComponentBean extends AbstractTagBean
         Map.Entry entry = (Map.Entry)iter.next();
         if (!props.containsKey(entry.getKey()))
         {
-          System.out.println("Adding super property: " + entry.getKey() +
-                             "\n  for component " + getLocalName());
           props.put(entry.getKey(), entry.getValue());
         }
       }

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.

[myfaces-trinidad-maven] 04/05: updating versions to make clear this branch is a *snapshot*

Posted by de...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1.2.8.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git

commit 581c9fa53fdc7cdfb8680f6e38e2f1f22bbc97ed
Author: Matthias Wessendorf <ma...@apache.org>
AuthorDate: Sun Jan 18 23:49:38 2009 +0000

    updating versions to make clear this branch is a *snapshot*
---
 maven-faces-plugin/pom.xml      | 2 +-
 maven-i18n-plugin/pom.xml       | 2 +-
 maven-javacc-plugin/pom.xml     | 2 +-
 maven-javascript-plugin/pom.xml | 2 +-
 maven-jdev-plugin/pom.xml       | 2 +-
 maven-tagdoc-plugin/pom.xml     | 2 +-
 maven-xrts-plugin/pom.xml       | 2 +-
 pom.xml                         | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/maven-faces-plugin/pom.xml b/maven-faces-plugin/pom.xml
index 4d3d5e7..f4d1f1f 100644
--- a/maven-faces-plugin/pom.xml
+++ b/maven-faces-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId> 
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/maven-i18n-plugin/pom.xml b/maven-i18n-plugin/pom.xml
index 43eb612..fb69681 100644
--- a/maven-i18n-plugin/pom.xml
+++ b/maven-i18n-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId>
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/maven-javacc-plugin/pom.xml b/maven-javacc-plugin/pom.xml
index ef315c4..564f59d 100644
--- a/maven-javacc-plugin/pom.xml
+++ b/maven-javacc-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId>
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/maven-javascript-plugin/pom.xml b/maven-javascript-plugin/pom.xml
index fe89873..1ba8137 100644
--- a/maven-javascript-plugin/pom.xml
+++ b/maven-javascript-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId>
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/maven-jdev-plugin/pom.xml b/maven-jdev-plugin/pom.xml
index dc991cf..109bc53 100644
--- a/maven-jdev-plugin/pom.xml
+++ b/maven-jdev-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId>
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/maven-tagdoc-plugin/pom.xml b/maven-tagdoc-plugin/pom.xml
index 8ed181c..c59eb59 100644
--- a/maven-tagdoc-plugin/pom.xml
+++ b/maven-tagdoc-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId>
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/maven-xrts-plugin/pom.xml b/maven-xrts-plugin/pom.xml
index 30ea287..d2106f6 100644
--- a/maven-xrts-plugin/pom.xml
+++ b/maven-xrts-plugin/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.myfaces.trinidadbuild</groupId>
     <artifactId>maven-plugin-parent</artifactId>
-    <version>1.2.8</version>
+    <version>1.2.8.1-SNAPSHOT</version>
   </parent>
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
diff --git a/pom.xml b/pom.xml
index 22b3819..79aeebf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
   <artifactId>maven-plugin-parent</artifactId>
-  <version>1.2.8</version>
+  <version>1.2.8.1-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Apache Trinidad Maven Plugin Parent</name>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.

[myfaces-trinidad-maven] 05/05: Oops. restoring the branches. It was not supposed to be deleted.

Posted by de...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1.2.8.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git

commit 6616bdaa0f2c45ffea6fc03191e770f431978716
Author: Scott Bryan <so...@apache.org>
AuthorDate: Thu Dec 22 17:43:30 2011 +0000

    Oops. restoring the branches.  It was not supposed to be deleted.

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.