[seam-commits] Seam SVN: r14168 - branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Sep 5 08:28:49 EDT 2011


Author: manaRH
Date: 2011-09-05 08:28:48 -0400 (Mon, 05 Sep 2011)
New Revision: 14168

Modified:
   branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/ClientUidSelector.java
Log:
JBSEAM-4701 - replaced random string with only number in <s:token>

Modified: branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/ClientUidSelector.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/ClientUidSelector.java	2011-09-05 12:28:15 UTC (rev 14167)
+++ branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/ClientUidSelector.java	2011-09-05 12:28:48 UTC (rev 14168)
@@ -20,6 +20,9 @@
 @Name("org.jboss.seam.ui.clientUidSelector")
 public class ClientUidSelector extends Selector
 {
+
+   private static final long serialVersionUID = 816459544346114991L;
+	
    private String clientUid;
 
    @Create
@@ -34,7 +37,7 @@
    public void seed()
    {
       if (!isSet()) {
-         clientUid = RandomStringUtils.randomAscii(50);
+    	 clientUid = RandomStringUtils.random(50, true, true);
          setCookieValueIfEnabled(clientUid);
       }
    }



More information about the seam-commits mailing list