[gatein-commits] gatein SVN: r7863 - portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 25 06:12:51 EDT 2011


Author: haint
Date: 2011-10-25 06:12:51 -0400 (Tue, 25 Oct 2011)
New Revision: 7863

Modified:
   portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormSelectBox.java
Log:
GTNPORTAL-2218 No difference between the two selectbox: objectId is always null on UIFormSelectBox

Modified: portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormSelectBox.java
===================================================================
--- portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormSelectBox.java	2011-10-25 10:11:37 UTC (rev 7862)
+++ portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormSelectBox.java	2011-10-25 10:12:51 UTC (rev 7863)
@@ -212,7 +212,7 @@
 
    protected String renderOnChangeEvent(UIForm uiForm) throws Exception
    {
-      return uiForm.event(onchange_, (String)null);
+      return uiForm.event(onchange_, (String)getId());
    }
 
    public void processRender(WebuiRequestContext context) throws Exception
@@ -277,4 +277,4 @@
       if (this.isMandatory())
          w.write(" *");
    }
-}
\ No newline at end of file
+}



More information about the gatein-commits mailing list