You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2005/09/20 13:51:54 UTC

svn commit: r290423 - in /struts/sandbox/trunk/overdrive/Nexus: Web/GridControl.ascx.cs postbuild.bat

Author: husted
Date: Tue Sep 20 04:51:49 2005
New Revision: 290423

URL: http://svn.apache.org/viewcvs?rev=290423&view=rev
Log:
OVR-21
* Automatically update item key property in base class. 

Added:
    struts/sandbox/trunk/overdrive/Nexus/postbuild.bat
Modified:
    struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs

Modified: struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs?rev=290423&r1=290422&r2=290423&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs Tue Sep 20 04:51:49 2005
@@ -491,6 +491,8 @@
 					// Handled by StepList_PageIndexChanged
 					break;
 				case msg_ITEM_COMMAND:
+					string key = Grid.DataKeys[index] as string;
+					list_ItemKey = key;
 					list_Item_Click(index);
 					break;
 				default:

Added: struts/sandbox/trunk/overdrive/Nexus/postbuild.bat
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/postbuild.bat?rev=290423&view=auto
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/postbuild.bat (added)
+++ struts/sandbox/trunk/overdrive/Nexus/postbuild.bat Tue Sep 20 04:51:49 2005
@@ -0,0 +1,3 @@
+REM %LOCAL_CACHE% doesn't work.
+CD %4
+COPY %1%2.* ..\local-cache\%3



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org