Author: husted Date: Tue Apr 12 19:31:25 2005 New Revision: 161145 URL: http://svn.apache.org/viewcvs?view=rev&rev=161145 Log: OVR-5 * Remove prototype members, now available in framework.
Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs?view=diff&r1=161144&r2=161145 ============================================================================== --- struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs (original) +++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs Tue Apr 12 19:31:25 2005 @@ -1,10 +1,9 @@ using System; -using System.Collections; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using Nexus.Core; -using PhoneBook.Core; +using Nexus.Core.Helpers; namespace PhoneBook.Web { @@ -247,54 +246,5 @@ } #endregion - #region PROPOSED INTERFACES TO IMPLEMENT - - public interface IViewHelper - { - void Execute(ControlCollection controls); - bool IsNominal { get; } - string Title {get;} - string Prompt {get;} - } - - public interface IListHelper : IViewHelper - { - IList List {get;} - } - - public interface IEditHelper : IListHelper - { - string EditText { get; set; } - string QuitText { get; set; } - string SaveText { get; set; } - - string ListCommand { get; set; } - string SaveCommand { get; set; } - string DataKeyField { get; set; } - - IList DataFields { get; set; } - IList DataLabels { get; set; } - - int BindColumns (DataGrid grid, int i); - void DataSource (DataGrid grid); - void DataInsert (DataGrid grid); - void DataBind (DataGrid grid); - void Save (string key, ControlCollection controls); - } - - public abstract class ViewHelper : IViewHelper - { - public static string HtmlErrorBuilder(IViewHelper value) - { - return null; // TODO: implementation - } - - public abstract void Execute (ControlCollection controls); - public abstract bool IsNominal { get; } - public abstract string Title { get; } - public abstract string Prompt { get; } - } - - #endregion } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]