Author: husted
Date: Tue Sep 13 13:27:02 2005
New Revision: 280642

URL: http://svn.apache.org/viewcvs?rev=280642&view=rev
Log:
OVR-21
* Remove cruft.

Modified:
    struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/IViewHelper.cs
    struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/ViewHelper.cs
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.dll
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.pdb
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.xml
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Extras.dll
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Extras.pdb
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Test.dll
    struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Test.pdb
    struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs
    struts/sandbox/trunk/overdrive/Nexus/Web/Web.csproj
    struts/sandbox/trunk/overdrive/Nexus/Web/WebHelper.cs

Modified: struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/IViewHelper.cs
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/IViewHelper.cs?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/IViewHelper.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/IViewHelper.cs Tue Sep 13 
13:27:02 2005
@@ -33,122 +33,14 @@
        /// 
        public interface IViewHelper
        {
-               #region "Deprecated" in favor of new ViewControl methods
 
                /// <summary>
-               /// Invoke the helper's command and bind the output to 
-               /// controls in the given collection.
-               /// </summary>
-               /// <remarks><p>
-               /// Most code behinds will call either ExecuteBind or 
-               /// ReadExecute by passing in the collection of controls 
-               /// from a panel control. 
-               /// </p></remarks>
-               /// <param name="controls">Collection of controls to 
populate.</param>
-               /// 
-               void ExecuteBind(ICollection controls);
-
-
-               /// <summary>
-               /// Read input from the controls in the given collection, 
-               /// and invoke the helper's command.
-               /// </summary>
-               /// <param name="controls">Collection of controls to 
-               /// populate.</param>
-               /// <remarks><p>
-               /// Most code behinds will call either ExecuteBind or 
-               /// ReadExecute by passing in the collection of controls 
-               /// from a panel control. 
-               /// </p></remarks>
-               /// 
-               void ReadExecute(ICollection controls);
-
-
-               /// <summary>
-               /// Bind the output of the helper's command to controls in the 
-               /// given collection.
-               /// </summary>
-               /// <param name="controls">Collection of controls to 
-               /// populate.</param>
-               /// 
-               void Bind(ICollection controls);
-
-
-               /// <summary>
-               /// Invoke the helper's command.
+               /// Perform the Command associated with this Helper.
                /// </summary>
                /// 
                void Execute();
 
-
-               /// <summary>
-               /// Read input from the controls in the given collection.
-               /// </summary>
-               /// <param name="controls">Collection of controls to 
populate.</param>
-               /// 
-               void Read(ICollection controls);
-
-               /// <summary>
-               /// Provide a prefix to trim from the id of a control during 
Read and 
-               /// Bind.
-               /// </summary>
-               /// <remarks><p>
-               /// The Prefix is needed when a single page uses a control 
-               /// more than once often in separate panels.
-               /// </p></remarks>
-               /// 
-               string Prefix { get; set; }
-
-
-               /// <summary>
-               /// Provide a suffix to truncate from a list control id 
-               /// in order to set a corresponding value field ["_list"].
-               /// </summary>
-               /// <remark><p>
-               /// When processing a single-value list control, if the id ends 
with 
-               /// the list suffix, 
-               /// the suffix is removed, and a field with the remaining name 
is set 
-               /// to the selected item value.
-               /// </p><P>
-               /// So, the selected item from a list control with the id 
-               /// "facility_key_list" will be set to a field named 
"facility_key".
-               /// </P></remark>
-               /// 
-               string ListSuffix { get; set; }
-
-               /* 
-                       // TODO: 
-                       string AlertSuffix {get; set}
-                       string HintSuffix {get; set}
-                       string LabelSuffix {get; set}
-               */
-
-
-               /// <summary>
-               /// Indicate whether to set the value read from control to null 
-               /// if it is an empty string [TRUE].
-               /// </summary>
-               /// <remarks><p>
-               /// If a control is blank, it may still return an empty string. 
-               /// In a IDictionary, an empty string is a valid value, 
-               /// so the entry for the control will still exist. 
-               /// </p></remarks>
-               /// 
-               bool NullIfEmpty { get; set; }
-
-
-               /// <summary>
-               /// Provide a string token to insert as item 0 to a list 
controls ["--v--"].
-               /// </summary>
-               /// <remarks><p>
-               /// To disable feature, set to a null string.
-               /// </p></remarks>
-               /// 
-               string SelectItemPrompt { get; set; }
-
-               #endregion 
-
-               /// <summary>
+               // <summary>
                /// Read input into the Criteria from a given Dictionary.
                /// </summary>
                /// <param name="criteria">Attributes to add to Critiera</param>
@@ -162,13 +54,11 @@
                /// 
                IDictionary Criteria { get; }
 
-
                /// <summary>
                /// User profile, which includes user ID and Locale.
                /// </summary>
                IProfile Profile { get; set; }
 
-
                /// <summary>
                /// Access result of operation as an IList.
                /// </summary>
@@ -198,7 +88,6 @@
                /// 
                IDictionary Alerts { get; }
 
-
                /// <summary>
                /// Indicate if alerts are queued.
                /// </summary>
@@ -206,7 +95,6 @@
                /// 
                bool HasAlerts { get; }
 
-
                /// <summary>
                /// Record an Exception, if thrown.
                /// </summary>
@@ -223,7 +111,6 @@
                /// 
                bool HasFault { get; }
 
-
                /// <summary>
                /// Indicate if there are no alerts or fault pending.
                /// </summary>
@@ -250,14 +137,12 @@
                /// 
                IDictionary Hints { get; }
 
-
                /// <summary>
                /// Indicate if Hints are queued.
                /// </summary>
                /// <returns>True if Hints are queued.</returns>
                /// 
                bool HasHints { get; }
-
 
                /// <summary>
                /// Return Hints formatted for display by a UI control.

Modified: struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/ViewHelper.cs
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/ViewHelper.cs?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/ViewHelper.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Core/Helpers/ViewHelper.cs Tue Sep 13 
13:27:02 2005
@@ -46,33 +46,13 @@
                /// </summary>
                public const string SELECT_ITEM_PROMPT = "--v--";
 
-               #region Read and Bind (abstract)
-
-               public abstract void ExecuteBind(ICollection controls);
-
-               public abstract void ReadExecute(ICollection controls);
-
-               public abstract void Bind(ICollection controls);
-
-               public abstract void Read(ICollection controls);
+               #region Read and Bind 
 
                public void Execute()
                {
                        Catalog.ExecuteView(Context);
                }
 
-               #endregion
-
-               #region Messages (abstract) 
-
-               public abstract string ErrorsText { get; }
-
-               public abstract string HintsText { get; }
-
-               #endregion
-
-               #region Read and Bind 
-
                public void Read(IDictionary input, bool nullIfEmpty)
                {
                        if (input == null) return;
@@ -164,6 +144,14 @@
                }
 
                #endregion 
+
+               #region Messages (abstract) 
+
+               public abstract string ErrorsText { get; }
+
+               public abstract string HintsText { get; }
+
+               #endregion
 
                #region Tables
 

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.dll
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.dll?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
Binary files - no diff available.

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.pdb
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.pdb?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
Binary files - no diff available.

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.xml
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.xml?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.xml 
(original)
+++ struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Core.xml Tue Sep 
13 13:27:02 2005
@@ -17,111 +17,13 @@
             </p></remarks>
             
         </member>
-        <member 
name="M:Nexus.Core.Helpers.IViewHelper.ExecuteBind(System.Collections.ICollection)">
-            <summary>
-            Invoke the helper's command and bind the output to 
-            controls in the given collection.
-            </summary>
-            <remarks><p>
-            Most code behinds will call either ExecuteBind or 
-            ReadExecute by passing in the collection of controls 
-            from a panel control. 
-            </p></remarks>
-            <param name="controls">Collection of controls to populate.</param>
-            
-        </member>
-        <member 
name="M:Nexus.Core.Helpers.IViewHelper.ReadExecute(System.Collections.ICollection)">
-            <summary>
-            Read input from the controls in the given collection, 
-            and invoke the helper's command.
-            </summary>
-            <param name="controls">Collection of controls to 
-            populate.</param>
-            <remarks><p>
-            Most code behinds will call either ExecuteBind or 
-            ReadExecute by passing in the collection of controls 
-            from a panel control. 
-            </p></remarks>
-            
-        </member>
-        <member 
name="M:Nexus.Core.Helpers.IViewHelper.Bind(System.Collections.ICollection)">
-            <summary>
-            Bind the output of the helper's command to controls in the 
-            given collection.
-            </summary>
-            <param name="controls">Collection of controls to 
-            populate.</param>
-            
-        </member>
         <member name="M:Nexus.Core.Helpers.IViewHelper.Execute">
             <summary>
-            Invoke the helper's command.
-            </summary>
-            
-        </member>
-        <member 
name="M:Nexus.Core.Helpers.IViewHelper.Read(System.Collections.ICollection)">
-            <summary>
-            Read input from the controls in the given collection.
-            </summary>
-            <param name="controls">Collection of controls to populate.</param>
-            
-        </member>
-        <member 
name="M:Nexus.Core.Helpers.IViewHelper.Read(System.Collections.IDictionary,System.Boolean)">
-            <summary>
-            Read input into the Criteria from a given Dictionary.
-            </summary>
-            <param name="criteria">Attributes to add to Critiera</param>
-            <param name="nullIfEmpty">Set attributes for empty strings to 
null</param>
-            
-        </member>
-        <member name="P:Nexus.Core.Helpers.IViewHelper.Prefix">
-            <summary>
-            Provide a prefix to trim from the id of a control during Read and 
-            Bind.
-            </summary>
-            <remarks><p>
-            The Prefix is needed when a single page uses a control 
-            more than once often in separate panels.
-            </p></remarks>
-            
-        </member>
-        <member name="P:Nexus.Core.Helpers.IViewHelper.ListSuffix">
-            <summary>
-            Provide a suffix to truncate from a list control id 
-            in order to set a corresponding value field ["_list"].
-            </summary>
-            <remark><p>
-            When processing a single-value list control, if the id ends with 
-            the list suffix, 
-            the suffix is removed, and a field with the remaining name is set 
-            to the selected item value.
-            </p><P>
-            So, the selected item from a list control with the id 
-            "facility_key_list" will be set to a field named "facility_key".
-            </P></remark>
-            
-        </member>
-        <member name="P:Nexus.Core.Helpers.IViewHelper.NullIfEmpty">
-            <summary>
-            Indicate whether to set the value read from control to null 
-            if it is an empty string [TRUE].
-            </summary>
-            <remarks><p>
-            If a control is blank, it may still return an empty string. 
-            In a IDictionary, an empty string is a valid value, 
-            so the entry for the control will still exist. 
-            </p></remarks>
-            
-        </member>
-        <member name="P:Nexus.Core.Helpers.IViewHelper.SelectItemPrompt">
-            <summary>
-            Provide a string token to insert as item 0 to a list controls 
["--v--"].
+            Perform the Command associated with this Helper.
             </summary>
-            <remarks><p>
-            To disable feature, set to a null string.
-            </p></remarks>
             
         </member>
+        <!-- Badly formed XML comment ignored for member 
"M:Nexus.Core.Helpers.IViewHelper.Read(System.Collections.IDictionary,System.Boolean)"
 -->
         <member name="P:Nexus.Core.Helpers.IViewHelper.Criteria">
             <summary>
             Store input and output values.

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Extras.dll
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Extras.dll?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
Binary files - no diff available.

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Extras.pdb
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Extras.pdb?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
Binary files - no diff available.

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Test.dll
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Test.dll?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
Binary files - no diff available.

Modified: struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Test.pdb
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Test/bin/Debug/Nexus.Test.pdb?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
Binary files - no diff available.

Modified: struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs Tue Sep 13 
13:27:02 2005
@@ -39,7 +39,6 @@
                        set { View_Error_Send(this, new ViewArgs(value)); }
                }
 
-
                #region String utilities 
 
                protected string NullIfEmpty(string input)

Modified: struts/sandbox/trunk/overdrive/Nexus/Web/Web.csproj
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Web/Web.csproj?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Web/Web.csproj (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Web/Web.csproj Tue Sep 13 13:27:02 2005
@@ -119,21 +119,6 @@
                     BuildAction = "Compile"
                 />
                 <File
-                    RelPath = "BaseGridPage.aspx"
-                    BuildAction = "Content"
-                />
-                <File
-                    RelPath = "BaseGridPage.aspx.cs"
-                    DependentUpon = "BaseGridPage.aspx"
-                    SubType = "ASPXCodeBehind"
-                    BuildAction = "Compile"
-                />
-                <File
-                    RelPath = "BaseGridPage.aspx.resx"
-                    DependentUpon = "BaseGridPage.aspx.cs"
-                    BuildAction = "EmbeddedResource"
-                />
-                <File
                     RelPath = "Global.asax"
                     SubType = "Component"
                     BuildAction = "Content"
@@ -165,16 +150,6 @@
                     BuildAction = "EmbeddedResource"
                 />
                 <File
-                    RelPath = "GridViewHelper.cs"
-                    SubType = "Code"
-                    BuildAction = "Compile"
-                />
-                <File
-                    RelPath = "IGridViewHelper.cs"
-                    SubType = "Code"
-                    BuildAction = "Compile"
-                />
-                <File
                     RelPath = "IViewControl.cs"
                     SubType = "Code"
                     BuildAction = "Compile"
@@ -209,11 +184,6 @@
                 />
                 <File
                     RelPath = "WebHelper.cs"
-                    SubType = "Code"
-                    BuildAction = "Compile"
-                />
-                <File
-                    RelPath = "WebViewHelper.cs"
                     SubType = "Code"
                     BuildAction = "Compile"
                 />

Modified: struts/sandbox/trunk/overdrive/Nexus/Web/WebHelper.cs
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Web/WebHelper.cs?rev=280642&r1=280641&r2=280642&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Web/WebHelper.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Web/WebHelper.cs Tue Sep 13 13:27:02 
2005
@@ -1,35 +1,12 @@
-using System;
 using System.Collections;
 using System.Text;
 using Nexus.Core.Helpers;
 
 namespace Nexus.Web
 {
-       /// <summary>
-       /// Summary description for WebHelper.
-       /// </summary>
        public class WebHelper : ViewHelper
        {
-               public override void ExecuteBind(ICollection controls)
-               {
-                       throw new NotImplementedException();
-               }
-
-               public override void ReadExecute(ICollection controls)
-               {
-                       throw new NotImplementedException();
-               }
-
-               public override void Bind(ICollection controls)
-               {
-                       throw new NotImplementedException();
-               }
-
-               public override void Read(ICollection controls)
-               {
-                       throw new NotImplementedException();
-               }
-
+       
                public override string ErrorsText
                {
                        get { return HtmlMessageBuilder(Alerts); }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to