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/19 16:22:39 UTC
svn commit: r290168 - in /struts/sandbox/trunk/overdrive/Nexus/Web:
GridControl.ascx.cs ViewControl.ascx.cs
Author: husted
Date: Mon Sep 19 07:22:33 2005
New Revision: 290168
URL: http://svn.apache.org/viewcvs?rev=290168&view=rev
Log:
OVR-15
* Reformat code only. No changes.
Modified:
struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs
struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.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=290168&r1=290167&r2=290168&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs Mon Sep 19 07:22:33 2005
@@ -480,7 +480,7 @@
public void Reset(IDictionary criteria)
{
list_ResetIndex();
- Open(criteria);
+ Open(criteria);
}
protected virtual void list_Item(string commandName, int index)
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=290168&r1=290167&r2=290168&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/Nexus/Web/ViewControl.ascx.cs Mon Sep 19 07:22:33 2005
@@ -370,7 +370,7 @@
Read(this.Controls, helper.Criteria, nullIfEmpty);
helper.Execute();
}
-
+
public void ReadExecute(IViewHelper helper, bool nullIfEmpty)
{
ReadExecute(this.Controls, helper, nullIfEmpty);
@@ -380,7 +380,7 @@
{
ReadExecute(helper, true);
}
-
+
public IViewHelper Read(ControlCollection controls, string command, bool nullOnEmpty)
{
IViewHelper helper = GetHelperFor(command);
@@ -443,29 +443,29 @@
private static string TITLE = "_title";
private static string LINK = "_link";
-
+
public virtual void GetMessages(ControlCollection controls)
{
foreach (Control t in controls)
{
if (IsButton(t))
- {
+ {
Button x = (Button) t;
x.Text = GetMessage(x.ID);
}
if (IsHyperLink(t))
- {
+ {
HyperLink x = (HyperLink) t;
x.Text = GetMessage(x.ID + TITLE);
x.NavigateUrl = GetMessage(x.ID + LINK);
continue;
}
if (IsLabel(t))
- {
+ {
Label x = (Label) t;
x.Text = GetMessage(x.ID);
}
- }
+ }
}
public virtual void GetMessages()
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org