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/28 15:27:35 UTC
svn commit: r292176 - in
/struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls:
AppGridControl.ascx.cs Lister2.ascx.cs
Author: husted
Date: Wed Sep 28 06:27:30 2005
New Revision: 292176
URL: http://svn.apache.org/viewcvs?rev=292176&view=rev
Log:
OVR-5
OVR-21
* Changes to synchronize with r292175
Modified:
struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/AppGridControl.ascx.cs
struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister2.ascx.cs
Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/AppGridControl.ascx.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/AppGridControl.ascx.cs?rev=292176&r1=292175&r2=292176&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/AppGridControl.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/AppGridControl.ascx.cs Wed Sep 28 06:27:30 2005
@@ -7,7 +7,7 @@
{
public class AppGridControl : GridControl
{
- public override IEntryList NewContextList
+ protected override IEntryList NewContextList
{
get { return new AppEntryList(); }
}
Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister2.ascx.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister2.ascx.cs?rev=292176&r1=292175&r2=292176&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister2.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister2.ascx.cs Wed Sep 28 06:27:30 2005
@@ -12,7 +12,7 @@
protected DataGrid list;
protected Button add;
- public void Open(IDictionary criteria)
+ public override bool Open(IDictionary criteria)
{
IViewHelper helper = ReadExecute(App.ENTRY_LIST, criteria);
bool ok = helper.IsNominal;
@@ -23,6 +23,7 @@
list.DataSource = result;
list.DataBind();
}
+ return ok;
}
private static string LABEL = "_label";
@@ -70,7 +71,7 @@
private void Page_Load(object sender, EventArgs e)
{
- add.Click += new EventHandler(list_Add);
+ add.Click += new EventHandler(add_Click);
add.Text = GetMessage(add.ID);
Grid_Load();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org