You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ma...@apache.org on 2014/03/20 09:16:10 UTC

svn commit: r1579559 [10/23] - in /james/hupa/trunk: ./ client/ client/src/main/java/com/google/web/bindery/requestfactory/server/ client/src/main/java/org/apache/hupa/ client/src/main/java/org/apache/hupa/client/ client/src/main/java/org/apache/hupa/c...

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/_ToolPanel.ui.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/_ToolPanel.ui.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/_ToolPanel.ui.xml (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/_ToolPanel.ui.xml Thu Mar 20 08:16:02 2014
@@ -1,26 +1,26 @@
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you under the Apache License, Version 2.0 (the "License"); you may not use 
-	this file except in compliance with the License. You may obtain a copy of 
-	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-	by applicable law or agreed to in writing, software distributed under the 
-	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-	OF ANY KIND, either express or implied. See the License for the specific 
-	language governing permissions and limitations under the License. -->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+    license agreements. See the NOTICE file distributed with this work for additional
+    information regarding copyright ownership. The ASF licenses this file to
+    you under the Apache License, Version 2.0 (the "License"); you may not use
+    this file except in compliance with the License. You may obtain a copy of
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+    by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+    OF ANY KIND, either express or implied. See the License for the specific
+    language governing permissions and limitations under the License. -->
 
 <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
-	xmlns:g='urn:import:com.google.gwt.user.client.ui'>
-	<g:DockLayoutPanel unit="PX" ui:field="thisPanel">
-		<g:west size="718">
-			<g:SimplePanel ui:field="toolBarContainer" />
-		</g:west>
-		<g:center>
-			<g:SimplePanel ui:field="composeToolBarContainer" />
-		</g:center>
-		<g:east size="210">
-			<g:SimplePanel ui:field="searchBoxContainer">
-			</g:SimplePanel>
-		</g:east>
-	</g:DockLayoutPanel>
+    xmlns:g='urn:import:com.google.gwt.user.client.ui'>
+    <g:DockLayoutPanel unit="PX" ui:field="thisPanel">
+        <g:west size="718">
+            <g:SimplePanel ui:field="toolBarContainer" />
+        </g:west>
+        <g:center>
+            <g:SimplePanel ui:field="composeToolBarContainer" />
+        </g:center>
+        <g:east size="210">
+            <g:SimplePanel ui:field="searchBoxContainer">
+            </g:SimplePanel>
+        </g:east>
+    </g:DockLayoutPanel>
 </ui:UiBinder>
\ No newline at end of file

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.java Thu Mar 20 08:16:02 2014
@@ -32,46 +32,46 @@ import com.google.gwt.user.client.ui.Wid
 
 public class __ComposePanel extends Composite {
 
-	@UiField protected SimplePanel composeHeaderContainer;
-	@UiField protected SimpleLayoutPanel composeContentContainer;
-	@UiField protected SimplePanel composeStatusContainer;
-
-	public __ComposePanel() {
-		initWidget(binder.createAndBindUi(this));
-	}
-
-	interface __ComposePanelUiBinder extends
-			UiBinder<DockLayoutPanel, __ComposePanel> {
-	}
-
-	private static __ComposePanelUiBinder binder = GWT
-			.create(__ComposePanelUiBinder.class);
-
-	public AcceptsOneWidget getComposeHeaderContainer() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				composeHeaderContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
-
-	public AcceptsOneWidget getComposeContentContainer() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				composeContentContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
-
-	public AcceptsOneWidget getComposeStatusContainer() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				composeStatusContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
+    @UiField protected SimplePanel composeHeaderContainer;
+    @UiField protected SimpleLayoutPanel composeContentContainer;
+    @UiField protected SimplePanel composeStatusContainer;
+
+    public __ComposePanel() {
+        initWidget(binder.createAndBindUi(this));
+    }
+
+    interface __ComposePanelUiBinder extends
+            UiBinder<DockLayoutPanel, __ComposePanel> {
+    }
+
+    private static __ComposePanelUiBinder binder = GWT
+            .create(__ComposePanelUiBinder.class);
+
+    public AcceptsOneWidget getComposeHeaderContainer() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                composeHeaderContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
+
+    public AcceptsOneWidget getComposeContentContainer() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                composeContentContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
+
+    public AcceptsOneWidget getComposeStatusContainer() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                composeStatusContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
 
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.ui.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.ui.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.ui.xml (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ComposePanel.ui.xml Thu Mar 20 08:16:02 2014
@@ -1,80 +1,80 @@
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you under the Apache License, Version 2.0 (the "License"); you may not use 
-	this file except in compliance with the License. You may obtain a copy of 
-	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-	by applicable law or agreed to in writing, software distributed under the 
-	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-	OF ANY KIND, either express or implied. See the License for the specific 
-	language governing permissions and limitations under the License. -->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+    license agreements. See the NOTICE file distributed with this work for additional
+    information regarding copyright ownership. The ASF licenses this file to
+    you under the Apache License, Version 2.0 (the "License"); you may not use
+    this file except in compliance with the License. You may obtain a copy of
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+    by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+    OF ANY KIND, either express or implied. See the License for the specific
+    language governing permissions and limitations under the License. -->
 
 <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
-	xmlns:g='urn:import:com.google.gwt.user.client.ui'>
-	<ui:style>
-		.box {
-			border: 1px solid #A3A3A3;
-			border-radius: 4px;
-			overflow: hidden;
-			box-shadow: 0 0 2px #999;
-			-o-box-shadow: 0 0 2px #999;
-			-webkit-box-shadow: 0 0 2px #999;
-			-moz-box-shadow: 0 0 2px #999;
-			background: white;
-		}
-		
-		.composeHeader {
-			border-radius: 4px 4px 0 0;
-			-webkit-box-shadow: 0 2px 3px 0 #999;
-			-moz-box-shadow: 0 2px 3px 0 #999;
-			box-shadow: 0 2px 3px 0 #999;
-			border-bottom: 0;
-			position: relative;
-			padding: 3px 0;
-			background: #f9f9f9;
-			background: -moz-linear-gradient(top, #fff 0%, #f0f0f0 100%);
-			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff),
-				color-stop(100%, #f0f0f0) );
-			background: -o-linear-gradient(top, #fff 0%, #f0f0f0 100%);
-			background: -ms-linear-gradient(top, #fff 0%, #f0f0f0 100%);
-			background: linear-gradient(top, #fff 0%, #f0f0f0 100%);
-			border-bottom: 1px solid #dfdfdf;
-		}
-		
-		.composeHeader td {
-			padding: 3px 8px;
-		}
-		
-		.composeHeader td textarea,.composeHeader td input[type="text"] {
-			width: 100%;
-			height: 13px;
-			resize: none;
-			font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
-			font-size: 11px;
-		}
-		
-		.mailviewbottom {
-			position: absolute;
-			left: 0;
-			bottom: 0;
-			width: 100%;
-			height: 26px;
-		}
-	</ui:style>
-	<g:DockLayoutPanel ui:field="thisPanel" unit="PX"
-		addStyleNames="{style.box}">
-		<g:north size="135">
-			<g:SimplePanel ui:field="composeHeaderContainer"
-				addStyleNames="{style.composeHeader}">
-			</g:SimplePanel>
-		</g:north>
-		<g:center>
-			<g:SimpleLayoutPanel ui:field="composeContentContainer">
-			</g:SimpleLayoutPanel>
-		</g:center>
-		<g:south size="28">
-			<g:SimplePanel ui:field="composeStatusContainer"
-				addStyleNames="{style.mailviewbottom}{style.box}" />
-		</g:south>
-	</g:DockLayoutPanel>
+    xmlns:g='urn:import:com.google.gwt.user.client.ui'>
+    <ui:style>
+        .box {
+            border: 1px solid #A3A3A3;
+            border-radius: 4px;
+            overflow: hidden;
+            box-shadow: 0 0 2px #999;
+            -o-box-shadow: 0 0 2px #999;
+            -webkit-box-shadow: 0 0 2px #999;
+            -moz-box-shadow: 0 0 2px #999;
+            background: white;
+        }
+
+        .composeHeader {
+            border-radius: 4px 4px 0 0;
+            -webkit-box-shadow: 0 2px 3px 0 #999;
+            -moz-box-shadow: 0 2px 3px 0 #999;
+            box-shadow: 0 2px 3px 0 #999;
+            border-bottom: 0;
+            position: relative;
+            padding: 3px 0;
+            background: #f9f9f9;
+            background: -moz-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff),
+                color-stop(100%, #f0f0f0) );
+            background: -o-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+            background: -ms-linear-gradient(top, #fff 0%, #f0f0f0 100%);
+            background: linear-gradient(top, #fff 0%, #f0f0f0 100%);
+            border-bottom: 1px solid #dfdfdf;
+        }
+
+        .composeHeader td {
+            padding: 3px 8px;
+        }
+
+        .composeHeader td textarea,.composeHeader td input[type="text"] {
+            width: 100%;
+            height: 13px;
+            resize: none;
+            font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
+            font-size: 11px;
+        }
+
+        .mailviewbottom {
+            position: absolute;
+            left: 0;
+            bottom: 0;
+            width: 100%;
+            height: 26px;
+        }
+    </ui:style>
+    <g:DockLayoutPanel ui:field="thisPanel" unit="PX"
+        addStyleNames="{style.box}">
+        <g:north size="135">
+            <g:SimplePanel ui:field="composeHeaderContainer"
+                addStyleNames="{style.composeHeader}">
+            </g:SimplePanel>
+        </g:north>
+        <g:center>
+            <g:SimpleLayoutPanel ui:field="composeContentContainer">
+            </g:SimpleLayoutPanel>
+        </g:center>
+        <g:south size="28">
+            <g:SimplePanel ui:field="composeStatusContainer"
+                addStyleNames="{style.mailviewbottom}{style.box}" />
+        </g:south>
+    </g:DockLayoutPanel>
 </ui:UiBinder>

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.java Thu Mar 20 08:16:02 2014
@@ -33,62 +33,62 @@ import com.google.gwt.user.client.ui.Spl
 import com.google.gwt.user.client.ui.Widget;
 
 public class __ContentPanel extends Composite{
-	@UiField SplitLayoutPanel thisPanel;
-	@UiField DockLayoutPanel messageListBox;
-	@UiField SimpleLayoutPanel messageListContainer;
-	@UiField SimplePanel messageListFooterContainer;
-	@UiField SimpleLayoutPanel messageContentContainer;
-	@UiField SimplePanel statusContainer;
-
-	@UiField HTMLPanel contactBox;
-
-	public __ContentPanel() {
-		initWidget(binder.createAndBindUi(this));
-		thisPanel.setWidgetHidden(contactBox, true);
-		thisPanel.setWidgetMinSize(messageListBox, 130);
-	}
-
-	public AcceptsOneWidget getMessageListView() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				messageListContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
-
-	public AcceptsOneWidget getMessageListFooterView() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				messageListFooterContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
-
-	public AcceptsOneWidget getMessageContentView() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				messageContentContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
-
-	public AcceptsOneWidget getStatusView() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				statusContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
-
-	interface __ContentPanelUiBinder extends
-			UiBinder<SplitLayoutPanel, __ContentPanel> {
-	}
+    @UiField SplitLayoutPanel thisPanel;
+    @UiField DockLayoutPanel messageListBox;
+    @UiField SimpleLayoutPanel messageListContainer;
+    @UiField SimplePanel messageListFooterContainer;
+    @UiField SimpleLayoutPanel messageContentContainer;
+    @UiField SimplePanel statusContainer;
+
+    @UiField HTMLPanel contactBox;
+
+    public __ContentPanel() {
+        initWidget(binder.createAndBindUi(this));
+        thisPanel.setWidgetHidden(contactBox, true);
+        thisPanel.setWidgetMinSize(messageListBox, 130);
+    }
+
+    public AcceptsOneWidget getMessageListView() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                messageListContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
+
+    public AcceptsOneWidget getMessageListFooterView() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                messageListFooterContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
+
+    public AcceptsOneWidget getMessageContentView() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                messageContentContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
+
+    public AcceptsOneWidget getStatusView() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                statusContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
+
+    interface __ContentPanelUiBinder extends
+            UiBinder<SplitLayoutPanel, __ContentPanel> {
+    }
 
-	private static __ContentPanelUiBinder binder = GWT
-			.create(__ContentPanelUiBinder.class);
+    private static __ContentPanelUiBinder binder = GWT
+            .create(__ContentPanelUiBinder.class);
 
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.ui.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.ui.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.ui.xml (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__ContentPanel.ui.xml Thu Mar 20 08:16:02 2014
@@ -1,75 +1,75 @@
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you under the Apache License, Version 2.0 (the "License"); you may not use 
-	this file except in compliance with the License. You may obtain a copy of 
-	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-	by applicable law or agreed to in writing, software distributed under the 
-	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-	OF ANY KIND, either express or implied. See the License for the specific 
-	language governing permissions and limitations under the License. -->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+    license agreements. See the NOTICE file distributed with this work for additional
+    information regarding copyright ownership. The ASF licenses this file to
+    you under the Apache License, Version 2.0 (the "License"); you may not use
+    this file except in compliance with the License. You may obtain a copy of
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+    by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+    OF ANY KIND, either express or implied. See the License for the specific
+    language governing permissions and limitations under the License. -->
 
 <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
-	xmlns:g='urn:import:com.google.gwt.user.client.ui'>
-	<ui:style>
-		.box {
-			border: 1px solid #A3A3A3;
-			border-radius: 4px;
-			overflow: hidden;
-			box-shadow: 0 0 2px #999;
-			-o-box-shadow: 0 0 2px #999;
-			-webkit-box-shadow: 0 0 2px #999;
-			-moz-box-shadow: 0 0 2px #999;
-			background: white;
-		}
-		
-		.messageListFooter {
-			position: absolute;
-			bottom: 0;
-			left: 0;
-			right: 0;
-			height: 22px;
-			padding: 4px 8px;
-			border-top: 1px solid #ddd;
-			background: #ebebeb;
-			background: -moz-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
-			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebebeb),
-				color-stop(100%, #c6c6c6) );
-			background: -o-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
-			background: -ms-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
-			background: linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
-			border-radius: 0 0 4px 4px;
-		}
-		
-	</ui:style>
-	<g:SplitLayoutPanel ui:field="thisPanel">
-		<g:north size="200">
-			<g:DockLayoutPanel unit="PX" addStyleNames="{style.box}"
-				ui:field="messageListBox">
-				<g:center>
-					<g:SimpleLayoutPanel ui:field="messageListContainer" />
-				</g:center>
-				<g:south size="31">
-					<g:SimplePanel ui:field="messageListFooterContainer"
-						addStyleNames="{style.messageListFooter}" />
-				</g:south>
-			</g:DockLayoutPanel>
-		</g:north>
-		<g:west size="200">
-			<g:HTMLPanel ui:field="contactBox" addStyleNames="{style.box}">
-				Address
-			</g:HTMLPanel>
-		</g:west>
-		<g:center>
-			<g:DockLayoutPanel unit="PX" addStyleNames="{style.box}"
-				ui:field="messageContentBox">
-				<g:center>
-					<g:SimpleLayoutPanel ui:field="messageContentContainer"/>
-				</g:center>
-				<g:south size="0">
-					<g:SimplePanel ui:field="statusContainer" />
-				</g:south>
-			</g:DockLayoutPanel>
-		</g:center>
-	</g:SplitLayoutPanel>
+    xmlns:g='urn:import:com.google.gwt.user.client.ui'>
+    <ui:style>
+        .box {
+            border: 1px solid #A3A3A3;
+            border-radius: 4px;
+            overflow: hidden;
+            box-shadow: 0 0 2px #999;
+            -o-box-shadow: 0 0 2px #999;
+            -webkit-box-shadow: 0 0 2px #999;
+            -moz-box-shadow: 0 0 2px #999;
+            background: white;
+        }
+
+        .messageListFooter {
+            position: absolute;
+            bottom: 0;
+            left: 0;
+            right: 0;
+            height: 22px;
+            padding: 4px 8px;
+            border-top: 1px solid #ddd;
+            background: #ebebeb;
+            background: -moz-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
+            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebebeb),
+                color-stop(100%, #c6c6c6) );
+            background: -o-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
+            background: -ms-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
+            background: linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
+            border-radius: 0 0 4px 4px;
+        }
+
+    </ui:style>
+    <g:SplitLayoutPanel ui:field="thisPanel">
+        <g:north size="200">
+            <g:DockLayoutPanel unit="PX" addStyleNames="{style.box}"
+                ui:field="messageListBox">
+                <g:center>
+                    <g:SimpleLayoutPanel ui:field="messageListContainer" />
+                </g:center>
+                <g:south size="31">
+                    <g:SimplePanel ui:field="messageListFooterContainer"
+                        addStyleNames="{style.messageListFooter}" />
+                </g:south>
+            </g:DockLayoutPanel>
+        </g:north>
+        <g:west size="200">
+            <g:HTMLPanel ui:field="contactBox" addStyleNames="{style.box}">
+                Address
+            </g:HTMLPanel>
+        </g:west>
+        <g:center>
+            <g:DockLayoutPanel unit="PX" addStyleNames="{style.box}"
+                ui:field="messageContentBox">
+                <g:center>
+                    <g:SimpleLayoutPanel ui:field="messageContentContainer"/>
+                </g:center>
+                <g:south size="0">
+                    <g:SimplePanel ui:field="statusContainer" />
+                </g:south>
+            </g:DockLayoutPanel>
+        </g:center>
+    </g:SplitLayoutPanel>
 </ui:UiBinder>
\ No newline at end of file

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.java Thu Mar 20 08:16:02 2014
@@ -31,24 +31,24 @@ import com.google.gwt.user.client.ui.Wid
 
 public class __OutlineComposePanel extends Composite {
 
-	@UiField ScrollPanel addressListContainer;
+    @UiField ScrollPanel addressListContainer;
 
-	public __OutlineComposePanel() {
-		initWidget(binder.createAndBindUi(this));
-	}
-
-	public AcceptsOneWidget getAddressListView() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				addressListContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
+    public __OutlineComposePanel() {
+        initWidget(binder.createAndBindUi(this));
+    }
+
+    public AcceptsOneWidget getAddressListView() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                addressListContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
 
-	interface Binder extends UiBinder<DockLayoutPanel, __OutlineComposePanel> {
-	}
+    interface Binder extends UiBinder<DockLayoutPanel, __OutlineComposePanel> {
+    }
 
-	private static Binder binder = GWT.create(Binder.class);
+    private static Binder binder = GWT.create(Binder.class);
 
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.ui.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.ui.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.ui.xml (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlineComposePanel.ui.xml Thu Mar 20 08:16:02 2014
@@ -1,62 +1,62 @@
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you under the Apache License, Version 2.0 (the "License"); you may not use 
-	this file except in compliance with the License. You may obtain a copy of 
-	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-	by applicable law or agreed to in writing, software distributed under the 
-	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-	OF ANY KIND, either express or implied. See the License for the specific 
-	language governing permissions and limitations under the License. -->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+    license agreements. See the NOTICE file distributed with this work for additional
+    information regarding copyright ownership. The ASF licenses this file to
+    you under the Apache License, Version 2.0 (the "License"); you may not use
+    this file except in compliance with the License. You may obtain a copy of
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+    by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+    OF ANY KIND, either express or implied. See the License for the specific
+    language governing permissions and limitations under the License. -->
 
 <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
-	xmlns:g='urn:import:com.google.gwt.user.client.ui'>
-	<ui:style>
-		.box {
-			border: 1px solid #A3A3A3;
-			border-radius: 4px;
-			overflow: hidden;
-			box-shadow: 0 0 2px #999;
-			-o-box-shadow: 0 0 2px #999;
-			-webkit-box-shadow: 0 0 2px #999;
-			-moz-box-shadow: 0 0 2px #999;
-			background: white;
-		}
-		
-		.folderList {
-			position: absolute;
-			top: 0;
-			left: 0;
-			width: 100%;
-			min-width: 144px;
-			bottom: 0;
-			overflow-x: hidden;
-			overflow-y: auto;
-		}
-		
-		.listBox {
-			background: #D9ECF4;
-			overflow: hidden;
-		}
-		
-		.box .boxFooter {
-			border-radius: 0 0 4px 4px;
-			border-top: 1px solid #ccdde4;
-			-webkit-box-shadow: inset 0 1px 0 0 #fff;
-			-moz-box-shadow: inset 0 1px 0 0 #fff;
-			box-shadow: inset 0 1px 0 0 #fff;
-			background: #d9ecf4;
-		}
-	</ui:style>
-	<g:DockLayoutPanel unit="PX" ui:field="thisPanel"
-		addStyleNames="{style.folderList}  {style.box}  {style.listBox}">
-		<g:center>
-			<g:ScrollPanel ui:field="addressListContainer" />
-		</g:center>
-		<g:south size="41">
-			<g:SimplePanel styleName="{style.boxFooter}">
-				<g:HTMLPanel tag="span"></g:HTMLPanel>
-			</g:SimplePanel>
-		</g:south>
-	</g:DockLayoutPanel>
+    xmlns:g='urn:import:com.google.gwt.user.client.ui'>
+    <ui:style>
+        .box {
+            border: 1px solid #A3A3A3;
+            border-radius: 4px;
+            overflow: hidden;
+            box-shadow: 0 0 2px #999;
+            -o-box-shadow: 0 0 2px #999;
+            -webkit-box-shadow: 0 0 2px #999;
+            -moz-box-shadow: 0 0 2px #999;
+            background: white;
+        }
+
+        .folderList {
+            position: absolute;
+            top: 0;
+            left: 0;
+            width: 100%;
+            min-width: 144px;
+            bottom: 0;
+            overflow-x: hidden;
+            overflow-y: auto;
+        }
+
+        .listBox {
+            background: #D9ECF4;
+            overflow: hidden;
+        }
+
+        .box .boxFooter {
+            border-radius: 0 0 4px 4px;
+            border-top: 1px solid #ccdde4;
+            -webkit-box-shadow: inset 0 1px 0 0 #fff;
+            -moz-box-shadow: inset 0 1px 0 0 #fff;
+            box-shadow: inset 0 1px 0 0 #fff;
+            background: #d9ecf4;
+        }
+    </ui:style>
+    <g:DockLayoutPanel unit="PX" ui:field="thisPanel"
+        addStyleNames="{style.folderList}  {style.box}  {style.listBox}">
+        <g:center>
+            <g:ScrollPanel ui:field="addressListContainer" />
+        </g:center>
+        <g:south size="41">
+            <g:SimplePanel styleName="{style.boxFooter}">
+                <g:HTMLPanel tag="span"></g:HTMLPanel>
+            </g:SimplePanel>
+        </g:south>
+    </g:DockLayoutPanel>
 </ui:UiBinder>
\ No newline at end of file

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.java Thu Mar 20 08:16:02 2014
@@ -31,24 +31,24 @@ import com.google.gwt.user.client.ui.Wid
 
 public class __OutlinePanel extends Composite {
 
-	@UiField ScrollPanel folderListContainer;
+    @UiField ScrollPanel folderListContainer;
 
-	public __OutlinePanel() {
-		initWidget(binder.createAndBindUi(this));
-	}
-
-	public AcceptsOneWidget getFolderListView() {
-		return new AcceptsOneWidget() {
-			@Override
-			public void setWidget(IsWidget w) {
-				folderListContainer.setWidget(Widget.asWidgetOrNull(w));
-			}
-		};
-	}
+    public __OutlinePanel() {
+        initWidget(binder.createAndBindUi(this));
+    }
+
+    public AcceptsOneWidget getFolderListView() {
+        return new AcceptsOneWidget() {
+            @Override
+            public void setWidget(IsWidget w) {
+                folderListContainer.setWidget(Widget.asWidgetOrNull(w));
+            }
+        };
+    }
 
-	interface Binder extends UiBinder<DockLayoutPanel, __OutlinePanel> {
-	}
+    interface Binder extends UiBinder<DockLayoutPanel, __OutlinePanel> {
+    }
 
-	private static Binder binder = GWT.create(Binder.class);
+    private static Binder binder = GWT.create(Binder.class);
 
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.ui.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.ui.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.ui.xml (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/ui/__OutlinePanel.ui.xml Thu Mar 20 08:16:02 2014
@@ -1,62 +1,62 @@
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you under the Apache License, Version 2.0 (the "License"); you may not use 
-	this file except in compliance with the License. You may obtain a copy of 
-	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-	by applicable law or agreed to in writing, software distributed under the 
-	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-	OF ANY KIND, either express or implied. See the License for the specific 
-	language governing permissions and limitations under the License. -->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+    license agreements. See the NOTICE file distributed with this work for additional
+    information regarding copyright ownership. The ASF licenses this file to
+    you under the Apache License, Version 2.0 (the "License"); you may not use
+    this file except in compliance with the License. You may obtain a copy of
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+    by applicable law or agreed to in writing, software distributed under the
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+    OF ANY KIND, either express or implied. See the License for the specific
+    language governing permissions and limitations under the License. -->
 
 <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
-	xmlns:g='urn:import:com.google.gwt.user.client.ui'>
-	<ui:style>
-		.box {
-			border: 1px solid #A3A3A3;
-			border-radius: 4px;
-			overflow: hidden;
-			box-shadow: 0 0 2px #999;
-			-o-box-shadow: 0 0 2px #999;
-			-webkit-box-shadow: 0 0 2px #999;
-			-moz-box-shadow: 0 0 2px #999;
-			background: white;
-		}
-		
-		.folderList {
-			position: absolute;
-			top: 0;
-			left: 0;
-			width: 100%;
-			min-width: 144px;
-			bottom: 0;
-			overflow-x: hidden;
-			overflow-y: auto;
-		}
-		
-		.listBox {
-			background: #D9ECF4;
-			overflow: hidden;
-		}
-		
-		.box .boxFooter {
-			border-radius: 0 0 4px 4px;
-			border-top: 1px solid #ccdde4;
-			-webkit-box-shadow: inset 0 1px 0 0 #fff;
-			-moz-box-shadow: inset 0 1px 0 0 #fff;
-			box-shadow: inset 0 1px 0 0 #fff;
-			background: #d9ecf4;
-		}
-	</ui:style>
-	<g:DockLayoutPanel unit="PX" ui:field="thisPanel"
-		addStyleNames="{style.folderList}  {style.box}  {style.listBox}">
-		<g:center>
-			<g:ScrollPanel ui:field="folderListContainer" />
-		</g:center>
-		<g:south size="41">
-			<g:SimplePanel styleName="{style.boxFooter}">
-				<g:HTMLPanel tag="span"></g:HTMLPanel>
-			</g:SimplePanel>
-		</g:south>
-	</g:DockLayoutPanel>
+    xmlns:g='urn:import:com.google.gwt.user.client.ui'>
+    <ui:style>
+        .box {
+            border: 1px solid #A3A3A3;
+            border-radius: 4px;
+            overflow: hidden;
+            box-shadow: 0 0 2px #999;
+            -o-box-shadow: 0 0 2px #999;
+            -webkit-box-shadow: 0 0 2px #999;
+            -moz-box-shadow: 0 0 2px #999;
+            background: white;
+        }
+
+        .folderList {
+            position: absolute;
+            top: 0;
+            left: 0;
+            width: 100%;
+            min-width: 144px;
+            bottom: 0;
+            overflow-x: hidden;
+            overflow-y: auto;
+        }
+
+        .listBox {
+            background: #D9ECF4;
+            overflow: hidden;
+        }
+
+        .box .boxFooter {
+            border-radius: 0 0 4px 4px;
+            border-top: 1px solid #ccdde4;
+            -webkit-box-shadow: inset 0 1px 0 0 #fff;
+            -moz-box-shadow: inset 0 1px 0 0 #fff;
+            box-shadow: inset 0 1px 0 0 #fff;
+            background: #d9ecf4;
+        }
+    </ui:style>
+    <g:DockLayoutPanel unit="PX" ui:field="thisPanel"
+        addStyleNames="{style.folderList}  {style.box}  {style.listBox}">
+        <g:center>
+            <g:ScrollPanel ui:field="folderListContainer" />
+        </g:center>
+        <g:south size="41">
+            <g:SimplePanel styleName="{style.boxFooter}">
+                <g:HTMLPanel tag="span"></g:HTMLPanel>
+            </g:SimplePanel>
+        </g:south>
+    </g:DockLayoutPanel>
 </ui:UiBinder>
\ No newline at end of file

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/AddStyleAction.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/AddStyleAction.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/AddStyleAction.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/AddStyleAction.java Thu Mar 20 08:16:02 2014
@@ -29,21 +29,21 @@ import eu.maydu.gwt.validation.client.ac
  * It's like StyleAction but with a timer to remove the style
  */
 public class AddStyleAction extends StyleAction {
-    
+
     Timer removeTimer = new Timer() {
         @Override
         public void run() {
             reset();
         }
     };
-    
+
     int removePeriod = 0;
-   
+
     public AddStyleAction(String add, int millisecs) {
         super(add);
         this.removePeriod = millisecs;
     }
-    
+
     @Override
     public void invoke(ValidationResult result, UIObject object) {
         super.invoke(result, object);
@@ -51,5 +51,5 @@ public class AddStyleAction extends Styl
             removeTimer.schedule(removePeriod);
         }
     }
-    
+
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java Thu Mar 20 08:16:02 2014
@@ -29,12 +29,12 @@ import eu.maydu.gwt.validation.client.i1
 /**
  * Validator which handles the validation of Email Lists. Email addresses
  * needs to be comma separated
- * 
+ *
  *
  */
 public class EmailListValidator extends Validator<EmailListValidator>{
     private static final String emailRegex = "^(.*<)?[A-Za-z0-9._%'*/=+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}(>)?\\s*$";
-    
+
     private HasText text;
     public EmailListValidator(HasText text) {
         this.text = text;
@@ -56,7 +56,7 @@ public class EmailListValidator extends 
 
     /**
      * Return if the give text is a valid Emailaddress list
-     * 
+     *
      * @param text
      * @return isValid
      */
@@ -73,7 +73,7 @@ public class EmailListValidator extends 
 
     /**
      * Checks if the given value is a valid emailaddress
-     * 
+     *
      * @param email
      * @return isValid
      */

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java Thu Mar 20 08:16:02 2014
@@ -29,7 +29,7 @@ import eu.maydu.gwt.validation.client.i1
 
 /**
  * Validator which checks if the HasText implementation is empty or not
- * 
+ *
  *
  */
 public class NotEmptyValidator extends Validator<NotEmptyValidator> {
@@ -52,5 +52,5 @@ public class NotEmptyValidator extends V
         }
         return null;
     }
-    
+
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/SetFocusAction.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/SetFocusAction.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/SetFocusAction.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/SetFocusAction.java Thu Mar 20 08:16:02 2014
@@ -27,7 +27,7 @@ import eu.maydu.gwt.validation.client.Va
 /**
  * FocusAction uses FocusWidget instead of focusable, so it doesn't work
  * with customized widgets extending composite.
- * 
+ *
  */
 public class SetFocusAction extends ValidationAction<Focusable> {
     @Override

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/CommandsBar.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/CommandsBar.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/CommandsBar.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/CommandsBar.java Thu Mar 20 08:16:02 2014
@@ -30,33 +30,33 @@ import com.google.gwt.user.client.ui.Has
 import com.google.gwt.user.client.ui.Widget;
 
 /**
- * A panel with three parts, 
+ * A panel with three parts,
  * left has a button bar
- * right has a bunch of links 
+ * right has a bunch of links
  * center has a loading widget
  */
 public class CommandsBar extends Composite {
-    
+
     Grid buttonPanel = new Grid(1, 3);
     ButtonBar buttonBarLeft = new ButtonBar();
     ButtonBar buttonBarRight = new ButtonBar();
-    
+
     public CommandsBar() {
-        
+
         buttonPanel.addStyleName(HupaCSS.C_commands_bar);
         buttonBarLeft.addStyleName(HupaCSS.C_buttons);
         buttonBarRight.addStyleName(HupaCSS.C_buttons);
 
         buttonPanel.setWidget(0, 0, buttonBarLeft);
         buttonPanel.setWidget(0, 2, buttonBarRight);
-        
-        buttonPanel.getCellFormatter().setWidth(0, 1, "100%"); 
-        buttonPanel.getCellFormatter().setHorizontalAlignment(0, 1, HasHorizontalAlignment.ALIGN_CENTER); 
-        buttonPanel.getCellFormatter().setHorizontalAlignment(0, 2, HasHorizontalAlignment.ALIGN_LEFT); 
+
+        buttonPanel.getCellFormatter().setWidth(0, 1, "100%");
+        buttonPanel.getCellFormatter().setHorizontalAlignment(0, 1, HasHorizontalAlignment.ALIGN_CENTER);
+        buttonPanel.getCellFormatter().setHorizontalAlignment(0, 2, HasHorizontalAlignment.ALIGN_LEFT);
 
         initWidget(buttonPanel);
     }
-    
+
     public void add(Widget w) {
         if (w instanceof Button) {
             addLeft(w);
@@ -66,7 +66,7 @@ public class CommandsBar extends Composi
             addRight(w);
         }
     }
-    
+
     public void addLeft(Widget w) {
         buttonBarLeft.add(w);
     }
@@ -84,7 +84,7 @@ public class CommandsBar extends Composi
     public boolean remove(Widget w) {
         return false;
     }
-    
-    
-    
+
+
+
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/ConfirmDialogBox.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/ConfirmDialogBox.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/ConfirmDialogBox.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/ConfirmDialogBox.java Thu Mar 20 08:16:02 2014
@@ -1,86 +1,86 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.client.widgets;
-
-import org.apache.hupa.client.HupaConstants;
-import org.cobogw.gwt.user.client.ui.Button;
-import org.cobogw.gwt.user.client.ui.ButtonBar;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.HasClickHandlers;
-import com.google.gwt.event.shared.HandlerRegistration;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.VerticalPanel;
-
-public class ConfirmDialogBox extends MyDialogBox implements HasClickHandlers {
-    private HupaConstants constants = GWT.create(HupaConstants.class);
-    private Label text = new Label();
-    private ButtonBar bar = new ButtonBar();
-    private VerticalPanel panel = new VerticalPanel();
-    private Button okButton = new Button(constants.okButton());
-    private Button cancelButton = new Button(constants.cancelButton());
-    
-    public ConfirmDialogBox() {    
-        super();
-        setModal(true);
-        setAnimationEnabled(true);  
-        setAutoHideEnabled(false);
-        super.setText(constants.productName());
-        panel.setSpacing(10);
-        panel.add(text);
-        bar.add(okButton);
-        bar.add(cancelButton);
-        panel.add(bar);
-        panel.setCellHorizontalAlignment(bar, VerticalPanel.ALIGN_RIGHT);
-        
-        cancelButton.addClickHandler(new ClickHandler() {
-
-            public void onClick(ClickEvent event) {
-                hide();
-            }
-            
-        });
-        okButton.addClickHandler(new ClickHandler() {
-
-            public void onClick(ClickEvent event) {
-                hide();
-            }
-            
-        });
-        add(panel);
-    }
-    
-    public void setText(String value) {
-        text.setText(value);
-    }
-
-    public HandlerRegistration addClickHandler(ClickHandler handler) {
-        return okButton.addClickHandler(handler);
-    }
-    
-    public void show() {
-        super.show();
-        center();
-
-    }
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.client.widgets;
+
+import org.apache.hupa.client.HupaConstants;
+import org.cobogw.gwt.user.client.ui.Button;
+import org.cobogw.gwt.user.client.ui.ButtonBar;
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.dom.client.HasClickHandlers;
+import com.google.gwt.event.shared.HandlerRegistration;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.VerticalPanel;
+
+public class ConfirmDialogBox extends MyDialogBox implements HasClickHandlers {
+    private HupaConstants constants = GWT.create(HupaConstants.class);
+    private Label text = new Label();
+    private ButtonBar bar = new ButtonBar();
+    private VerticalPanel panel = new VerticalPanel();
+    private Button okButton = new Button(constants.okButton());
+    private Button cancelButton = new Button(constants.cancelButton());
+
+    public ConfirmDialogBox() {
+        super();
+        setModal(true);
+        setAnimationEnabled(true);
+        setAutoHideEnabled(false);
+        super.setText(constants.productName());
+        panel.setSpacing(10);
+        panel.add(text);
+        bar.add(okButton);
+        bar.add(cancelButton);
+        panel.add(bar);
+        panel.setCellHorizontalAlignment(bar, VerticalPanel.ALIGN_RIGHT);
+
+        cancelButton.addClickHandler(new ClickHandler() {
+
+            public void onClick(ClickEvent event) {
+                hide();
+            }
+
+        });
+        okButton.addClickHandler(new ClickHandler() {
+
+            public void onClick(ClickEvent event) {
+                hide();
+            }
+
+        });
+        add(panel);
+    }
+
+    public void setText(String value) {
+        text.setText(value);
+    }
+
+    public HandlerRegistration addClickHandler(ClickHandler handler) {
+        return okButton.addClickHandler(handler);
+    }
+
+    public void show() {
+        super.show();
+        center();
+
+    }
+
+}

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/EnableButton.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/EnableButton.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/EnableButton.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/EnableButton.java Thu Mar 20 08:16:02 2014
@@ -24,7 +24,7 @@ import org.cobogw.gwt.user.client.ui.But
 
 /**
  * Button which supports enabling / disabling
- * 
+ *
  *
  */
 public class EnableButton extends Button implements HasEnable{

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/HasDialog.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/HasDialog.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/HasDialog.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/HasDialog.java Thu Mar 20 08:16:02 2014
@@ -1,43 +1,43 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.client.widgets;
-
-/**
- * Interface which Dialog implementations should implement
- * 
- *
- */
-public interface HasDialog {
-    
-    /**
-     * Show Dialog
-     */
-    public void show();
-    
-    /**
-     * Hide Dialog
-     */
-    public void hide();
-    
-    /**
-     * Center Dialog and show it
-     */
-    public void center();
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.client.widgets;
+
+/**
+ * Interface which Dialog implementations should implement
+ *
+ *
+ */
+public interface HasDialog {
+
+    /**
+     * Show Dialog
+     */
+    public void show();
+
+    /**
+     * Hide Dialog
+     */
+    public void hide();
+
+    /**
+     * Center Dialog and show it
+     */
+    public void center();
+}

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/IMAPTreeItem.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/IMAPTreeItem.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/IMAPTreeItem.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/IMAPTreeItem.java Thu Mar 20 08:16:02 2014
@@ -24,150 +24,150 @@ import org.apache.hupa.widgets.event.Edi
 import org.apache.hupa.widgets.ui.EditableTreeItem;
 
 public class IMAPTreeItem extends EditableTreeItem {
-	protected String oldFullName;
-	protected String oldName;
+    protected String oldFullName;
+    protected String oldName;
 
-	public IMAPTreeItem(ImapFolder folder) {
-		setUserObject(folder);
-		setFolderText(folder);
-	}
-
-	@Override
-	public void setSelected(boolean selected) {
-		super.setSelected(selected);
-		if (isSelected()) {
-			getWidget().addStyleName("hupa-IMAPFolder-selected");
-		} else {
-			getWidget().removeStyleName("hupa-IMAPFolder-selected");
-		}
-	}
-
-	/**
-	 * Decrease the unseen messagecount of this folder
-	 */
-	public void decreaseUnseenMessageCount() {
-		descreaseUnseenMessageCount(1);
-	}
-
-	public void setUnseenMessageCount(int cound) {
-		ImapFolder folder = (ImapFolder) getUserObject();
-		int count = folder.getUnseenMessageCount();
-		folder.setUnseenMessageCount(count);
-		setFolderText(folder);
-
-	}
-
-	/**
-	 * Decrease the unseen messagecount of this folder
-	 */
-	public void descreaseUnseenMessageCount(int decreaseCount) {
-		ImapFolder folder = (ImapFolder) getUserObject();
-		int count = folder.getUnseenMessageCount();
-		if (count > 0) {
-			count = count - decreaseCount;
-			if (count < 0) {
-				count = 0;
-			}
-			folder.setUnseenMessageCount(count);
-			setFolderText(folder);
-		}
-	}
-	/**
-	 * Increase the unseen messagecount of this folder
-	 */
-	public void increaseUnseenMessageCount() {
-		increaseUnseenMessageCount(1);
-	}
-
-	/**
-	 * Increase the unseen messagecount of this folder
-	 */
-	public void increaseUnseenMessageCount(int increaseCount) {
-		ImapFolder folder = (ImapFolder) getUserObject();
-		int count = folder.getUnseenMessageCount();
-		count = count + increaseCount;
-		folder.setUnseenMessageCount(count);
-		setFolderText(folder);
-	}
-
-	private void setFolderText(ImapFolder folder) {
-		setText(getFolderName(folder));
-		setUnseenMessageCountStyle(folder);
-	}
-
-	private void setUnseenMessageCountStyle(ImapFolder folder) {
-		boolean containsUnseen = (folder.getUnseenMessageCount() > 0);
-		for (ImapFolder fold : folder.getChildren()) {
-			if (fold.getUnseenMessageCount() > 0) {
-				containsUnseen = true;
-				break;
-			}
-		}
-		if (containsUnseen) {
-			getWidget().addStyleName("hupa-IMAPFolder-unseen");
-		} else {
-			getWidget().removeStyleName("hupa-IMAPFolder-unseen");
-		}
-	}
-
-	/**
-	 * Return the folder name to display in the TreeItem for the given
-	 * IMAPFolder
-	 * 
-	 * @param folder
-	 * @return name
-	 */
-	private String getFolderName(ImapFolder folder) {
-		if (folder.getUnseenMessageCount() > 0) {
-			return folder.getName() + " (" + folder.getUnseenMessageCount() + ")";
-		}
-		return folder.getName();
-	}
-
-	@Override
-	public void setUserObject(Object obj) {
-		if ((obj instanceof ImapFolder) == false) {
-			throw new IllegalArgumentException("UserObject needs to be an instance of IMAPFolder");
-		}
-		setFolderText((ImapFolder) obj);
-
-		super.setUserObject(obj);
-	}
-
-	@Override
-	public void startEdit() {
-		ImapFolder folder = (ImapFolder) getUserObject();
-		oldFullName = folder.getFullName();
-		oldName = folder.getName();
-		showEditBox(oldName);
-		manager.fireEvent(new EditEvent(EditEvent.EventType.Start, oldFullName, null));
-	}
-
-	@Override
-	public void cancelEdit() {
-		ImapFolder folder = ((ImapFolder) getUserObject());
-		folder.setFullName(oldFullName);
-		showItem(getFolderName(folder));
-
-		manager.fireEvent(new EditEvent(EditEvent.EventType.Cancel, oldFullName, null));
-
-	}
-
-	@Override
-	public void stopEdit() {
-		if (editBox.getText().length() < 1) {
-			// Empty folder name is not allowed!
-			cancelEdit();
-		} else {
-			String newFolderName = editBox.getText();
-			String newFullFolderName = oldFullName.substring(0, oldFullName.length() - oldName.length())
-					+ newFolderName;
-			ImapFolder folder = ((ImapFolder) getUserObject());
-			folder.setFullName(newFullFolderName);
-			showItem(getFolderName(folder));
+    public IMAPTreeItem(ImapFolder folder) {
+        setUserObject(folder);
+        setFolderText(folder);
+    }
+
+    @Override
+    public void setSelected(boolean selected) {
+        super.setSelected(selected);
+        if (isSelected()) {
+            getWidget().addStyleName("hupa-IMAPFolder-selected");
+        } else {
+            getWidget().removeStyleName("hupa-IMAPFolder-selected");
+        }
+    }
+
+    /**
+     * Decrease the unseen messagecount of this folder
+     */
+    public void decreaseUnseenMessageCount() {
+        descreaseUnseenMessageCount(1);
+    }
+
+    public void setUnseenMessageCount(int cound) {
+        ImapFolder folder = (ImapFolder) getUserObject();
+        int count = folder.getUnseenMessageCount();
+        folder.setUnseenMessageCount(count);
+        setFolderText(folder);
+
+    }
+
+    /**
+     * Decrease the unseen messagecount of this folder
+     */
+    public void descreaseUnseenMessageCount(int decreaseCount) {
+        ImapFolder folder = (ImapFolder) getUserObject();
+        int count = folder.getUnseenMessageCount();
+        if (count > 0) {
+            count = count - decreaseCount;
+            if (count < 0) {
+                count = 0;
+            }
+            folder.setUnseenMessageCount(count);
+            setFolderText(folder);
+        }
+    }
+    /**
+     * Increase the unseen messagecount of this folder
+     */
+    public void increaseUnseenMessageCount() {
+        increaseUnseenMessageCount(1);
+    }
+
+    /**
+     * Increase the unseen messagecount of this folder
+     */
+    public void increaseUnseenMessageCount(int increaseCount) {
+        ImapFolder folder = (ImapFolder) getUserObject();
+        int count = folder.getUnseenMessageCount();
+        count = count + increaseCount;
+        folder.setUnseenMessageCount(count);
+        setFolderText(folder);
+    }
+
+    private void setFolderText(ImapFolder folder) {
+        setText(getFolderName(folder));
+        setUnseenMessageCountStyle(folder);
+    }
+
+    private void setUnseenMessageCountStyle(ImapFolder folder) {
+        boolean containsUnseen = (folder.getUnseenMessageCount() > 0);
+        for (ImapFolder fold : folder.getChildren()) {
+            if (fold.getUnseenMessageCount() > 0) {
+                containsUnseen = true;
+                break;
+            }
+        }
+        if (containsUnseen) {
+            getWidget().addStyleName("hupa-IMAPFolder-unseen");
+        } else {
+            getWidget().removeStyleName("hupa-IMAPFolder-unseen");
+        }
+    }
+
+    /**
+     * Return the folder name to display in the TreeItem for the given
+     * IMAPFolder
+     *
+     * @param folder
+     * @return name
+     */
+    private String getFolderName(ImapFolder folder) {
+        if (folder.getUnseenMessageCount() > 0) {
+            return folder.getName() + " (" + folder.getUnseenMessageCount() + ")";
+        }
+        return folder.getName();
+    }
+
+    @Override
+    public void setUserObject(Object obj) {
+        if ((obj instanceof ImapFolder) == false) {
+            throw new IllegalArgumentException("UserObject needs to be an instance of IMAPFolder");
+        }
+        setFolderText((ImapFolder) obj);
+
+        super.setUserObject(obj);
+    }
+
+    @Override
+    public void startEdit() {
+        ImapFolder folder = (ImapFolder) getUserObject();
+        oldFullName = folder.getFullName();
+        oldName = folder.getName();
+        showEditBox(oldName);
+        manager.fireEvent(new EditEvent(EditEvent.EventType.Start, oldFullName, null));
+    }
+
+    @Override
+    public void cancelEdit() {
+        ImapFolder folder = ((ImapFolder) getUserObject());
+        folder.setFullName(oldFullName);
+        showItem(getFolderName(folder));
+
+        manager.fireEvent(new EditEvent(EditEvent.EventType.Cancel, oldFullName, null));
+
+    }
+
+    @Override
+    public void stopEdit() {
+        if (editBox.getText().length() < 1) {
+            // Empty folder name is not allowed!
+            cancelEdit();
+        } else {
+            String newFolderName = editBox.getText();
+            String newFullFolderName = oldFullName.substring(0, oldFullName.length() - oldName.length())
+                    + newFolderName;
+            ImapFolder folder = ((ImapFolder) getUserObject());
+            folder.setFullName(newFullFolderName);
+            showItem(getFolderName(folder));
 
-			manager.fireEvent(new EditEvent(EditEvent.EventType.Stop, oldFullName, newFullFolderName));
-		}
+            manager.fireEvent(new EditEvent(EditEvent.EventType.Stop, oldFullName, newFullFolderName));
+        }
 
-	}
+    }
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MessageHeaders.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MessageHeaders.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MessageHeaders.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MessageHeaders.java Thu Mar 20 08:16:02 2014
@@ -40,11 +40,11 @@ import org.apache.hupa.widgets.ui.MultiV
  * A panel which displays the headers of a message.
  */
 public class MessageHeaders extends Composite {
-    
+
     private FlexTable detailGrid = new FlexTable();
     private String headerNames[];
     private int rowCounter = 0;
-    
+
     public MessageHeaders (HupaConstants constants) {
        headerNames = new String[] {
                 constants.headerFrom(),
@@ -59,18 +59,18 @@ public class MessageHeaders extends Comp
         detailGrid.addStyleName(HupaCSS.C_msg_headers);
         initWidget(detailGrid);
     }
-    
+
     public void setValues(Widget from, Widget to, Widget cc, Widget bcc, Widget subject, Widget attachments) {
-       addValues(from, to, cc, bcc, subject, attachments);    
+       addValues(from, to, cc, bcc, subject, attachments);
     }
-    
+
     private void addValues(Widget...widgets) {
         detailGrid.clearAll();
         rowCounter = 0;
         for (int i=0; i<widgets.length; i++)
             addRow(headerNames[i], widgets[i]);
     }
-    
+
     private Widget createLinkToShow(String name, final Widget widget) {
         final EnableHyperlink link = new EnableHyperlink(name + ":");
         link.addClickHandler(new ClickHandler() {
@@ -82,7 +82,7 @@ public class MessageHeaders extends Comp
         widget.setVisible(false);
         return link;
     }
-    
+
     private void addRow(String name, final Widget widget) {
         if (widget == null)
             return;
@@ -104,12 +104,12 @@ public class MessageHeaders extends Comp
             if (((Panel)widget).iterator().hasNext() == false)
                 return;
         }
-        
+
         detailGrid.setWidget(rowCounter, 0, label);
         detailGrid.setWidget(rowCounter, 1, widget);
         detailGrid.getCellFormatter().setStyleName(rowCounter, 0, "label");
         detailGrid.getCellFormatter().setStyleName(rowCounter, 1, "value");
         rowCounter ++;
     }
-    
+
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MyDialogBox.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MyDialogBox.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MyDialogBox.java (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/widgets/MyDialogBox.java Thu Mar 20 08:16:02 2014
@@ -28,5 +28,5 @@ public class MyDialogBox extends DialogB
         super();
         super.addStyleName(HupaCSS.C_dialog);
     }
-    
+
 }

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa-sd.html
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa-sd.html?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa-sd.html (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa-sd.html Thu Mar 20 08:16:02 2014
@@ -20,27 +20,27 @@
     <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     <!--[if lt IE 9]>
       <meta http-equiv="X-UA-Compatible" content="chrome=1">
-    <![endif]-->    
+    <![endif]-->
 
     <link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon"/>
     <link href="styles.css" type="text/css" rel="stylesheet" />
-    
+
     <title>Hupa webmail</title>
     <!-- define loading style early -->
     <style type="text/css">
-		div.loading {
-		    width: 100%; 
-		    height: 100%; 
-		    background-color: #d8ecfd;
-		}
-		.loading img {
-		    position: absolute;
-		    top: 37%;
-		    left: 50%;
-		}
-		#login {
-		    display: none;
-		}
+        div.loading {
+            width: 100%;
+            height: 100%;
+            background-color: #d8ecfd;
+        }
+        .loading img {
+            position: absolute;
+            top: 37%;
+            left: 50%;
+        }
+        #login {
+            display: none;
+        }
     </style>
   </head>
 
@@ -49,24 +49,24 @@
     <!-- It will be removed as soon as the app is ready    -->
     <div id="loading" class="loading">
      <img src="images/hupa-spinning.gif">
-    </div>  
-    
+    </div>
+
     <!-- We need this because passwords in forms rendered by js are not saved in browsers -->
     <div id="login">
-	  <form id="loginForm" action="hupa/clear.cache.gif" method="post">
-	    <input autocomplete="on" id="email" name="email" type="text">
-	    <input autocomplete="on" id="password" name="password" type="password">
-	  </form>
+      <form id="loginForm" action="hupa/clear.cache.gif" method="post">
+        <input autocomplete="on" id="email" name="email" type="text">
+        <input autocomplete="on" id="password" name="password" type="password">
+      </form>
     </div>
-    
+
     <!-- Necessary for history support -->
     <iframe src="javascript:''"  id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>
-    
+
     <!-- Download attachments needs this -->
-    <iframe src="" id="__download" style="width:0;height:0;border:0"></iframe> 
-    
-    
+    <iframe src="" id="__download" style="width:0;height:0;border:0"></iframe>
+
+
   <!--  load the application at the end when loading is being shown -->
   <script type="text/javascript" src="http://localhost:9876/hupa/hupa.nocache.js"></script>
-    
+
 </html>

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa.html
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa.html?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa.html (original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/public/Hupa.html Thu Mar 20 08:16:02 2014
@@ -20,27 +20,27 @@
     <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     <!--[if lt IE 9]>
       <meta http-equiv="X-UA-Compatible" content="chrome=1">
-    <![endif]-->    
+    <![endif]-->
 
     <link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon"/>
     <link href="styles.css" type="text/css" rel="stylesheet" />
-    
+
     <title>Hupa webmail</title>
     <!-- define loading style early -->
     <style type="text/css">
-		div.loading {
-		    width: 100%; 
-		    height: 100%; 
-		    background-color: #d8ecfd;
-		}
-		.loading img {
-		    position: absolute;
-		    top: 37%;
-		    left: 50%;
-		}
-		#login {
-		    display: none;
-		}
+        div.loading {
+            width: 100%;
+            height: 100%;
+            background-color: #d8ecfd;
+        }
+        .loading img {
+            position: absolute;
+            top: 37%;
+            left: 50%;
+        }
+        #login {
+            display: none;
+        }
     </style>
   </head>
 
@@ -49,24 +49,24 @@
     <!-- It will be removed as soon as the app is ready    -->
     <div id="loading" class="loading">
      <img src="images/hupa-spinning.gif">
-    </div>  
-    
+    </div>
+
     <!-- We need this because passwords in forms rendered by js are not saved in browsers -->
     <div id="login">
-	  <form id="loginForm" action="hupa/clear.cache.gif" method="post">
-	    <input autocomplete="on" id="email" name="email" type="text">
-	    <input autocomplete="on" id="password" name="password" type="password">
-	  </form>
+      <form id="loginForm" action="hupa/clear.cache.gif" method="post">
+        <input autocomplete="on" id="email" name="email" type="text">
+        <input autocomplete="on" id="password" name="password" type="password">
+      </form>
     </div>
-    
+
     <!-- Necessary for history support -->
     <iframe src="javascript:''"  id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>
-    
+
     <!-- Download attachments needs this -->
-    <iframe src="" id="__download" style="width:0;height:0;border:0"></iframe> 
-    
-    
+    <iframe src="" id="__download" style="width:0;height:0;border:0"></iframe>
+
+
   <!--  load the application at the end when loading is being shown -->
   <script type="text/javascript" src="hupa.nocache.js"></script>
-    
+
 </html>

Modified: james/hupa/trunk/client/src/site/site.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/site/site.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/site/site.xml (original)
+++ james/hupa/trunk/client/src/site/site.xml Thu Mar 20 08:16:02 2014
@@ -1,27 +1,27 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements. See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership. The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License. You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied. See the License for the
-    specific language governing permissions and limitations
-    under the License.
--->
-<project name="Hupa">
-    <body>
-        <!-- This is a "dummy" site because of this bug: -->
-        <!-- http://jira.codehaus.org/browse/MSITE-345 -->
-        <menu ref="parent" />
-        <menu ref="reports" />
-    </body>
-</project>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<project name="Hupa">
+    <body>
+        <!-- This is a "dummy" site because of this bug: -->
+        <!-- http://jira.codehaus.org/browse/MSITE-345 -->
+        <menu ref="parent" />
+        <menu ref="reports" />
+    </body>
+</project>

Modified: james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaClientTestBase.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaClientTestBase.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaClientTestBase.java (original)
+++ james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaClientTestBase.java Thu Mar 20 08:16:02 2014
@@ -28,7 +28,7 @@ import com.sun.mail.imap.IMAPStore;
 @RunWith(GuiceJunitRunner.class)
 @GuiceModules({GuiceServerTestModule.class, GinClientTestModule.class})
 public abstract class HupaClientTestBase  {
-  
+
   static {
     LogManager.getRootLogger().setLevel(Level.INFO);
   }
@@ -48,5 +48,5 @@ public abstract class HupaClientTestBase
       httpSession.setAttribute(SConsts.USER_SESS_ATTR, testUser);
       registry = SessionUtils.getSessionRegistry(logger, httpSession);
   }
-  
+
 }

Modified: james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaGwtTestCase.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaGwtTestCase.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaGwtTestCase.java (original)
+++ james/hupa/trunk/client/src/test/java/org/apache/hupa/client/HupaGwtTestCase.java Thu Mar 20 08:16:02 2014
@@ -22,7 +22,7 @@ import com.google.gwt.junit.client.GWTTe
 
 /**
  * Base class for testing hupa in client side.
- * 
+ *
  * @author manolo
  *
  */
@@ -31,10 +31,10 @@ public abstract class HupaGwtTestCase ex
     /**
      * Although tests extending this class should work in either the jvm or the browser,
      * it is better to run them in the jvm because of performance reasons.
-     * 
+     *
      * Change the return value if you what to run them in browser, but
      * be sure to commit this class returning null
-     * 
+     *
      *   TODO: put some code to return the adequate value based on an external
      *   property. System.getProperty doesn't work because the test
      *   is compiled to javascript when not returning null

Modified: james/hupa/trunk/client/src/test/java/org/apache/hupa/client/ioc/GinClientTestModule.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/test/java/org/apache/hupa/client/ioc/GinClientTestModule.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/test/java/org/apache/hupa/client/ioc/GinClientTestModule.java (original)
+++ james/hupa/trunk/client/src/test/java/org/apache/hupa/client/ioc/GinClientTestModule.java Thu Mar 20 08:16:02 2014
@@ -43,36 +43,36 @@ import com.google.web.bindery.requestfac
 import com.google.web.bindery.requestfactory.vm.RequestFactorySource;
 
 public class GinClientTestModule extends AbstractModule {
-    
-	public static Logger logger = Logger.getLogger(GinClientTestModule.class.getName());
 
-	@Override
-	protected void configure() {
-		bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);
-		bind(RequestFactory.class).to(HupaRequestFactory.class).in(Singleton.class);
-	}
-
-	@Provides
-	@Singleton
-	HupaRequestFactory getRequestFactory(EventBus eventBus, IocRfServiceDecorator decorator) {
-		HupaRequestFactory requestFactory = RequestFactorySource.create(HupaRequestFactory.class);
-	    SimpleRequestProcessor processor = new SimpleRequestProcessor(ServiceLayer.create(decorator));
-	    processor.setExceptionHandler(new ExceptionHandler() {
-	        public ServerFailure createServerFailure(Throwable throwable) {
-	          throwable.printStackTrace();
-	          return null;
-	        }
-	      });
-		requestFactory.initialize(eventBus, new InProcessRequestTransport(processor));
-		return requestFactory;
-	}
-	
+    public static Logger logger = Logger.getLogger(GinClientTestModule.class.getName());
+
+    @Override
+    protected void configure() {
+        bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);
+        bind(RequestFactory.class).to(HupaRequestFactory.class).in(Singleton.class);
+    }
+
     @Provides
     @Singleton
-	AutoBeanFactory getAutoBeanFactory() {
+    HupaRequestFactory getRequestFactory(EventBus eventBus, IocRfServiceDecorator decorator) {
+        HupaRequestFactory requestFactory = RequestFactorySource.create(HupaRequestFactory.class);
+        SimpleRequestProcessor processor = new SimpleRequestProcessor(ServiceLayer.create(decorator));
+        processor.setExceptionHandler(new ExceptionHandler() {
+            public ServerFailure createServerFailure(Throwable throwable) {
+              throwable.printStackTrace();
+              return null;
+            }
+          });
+        requestFactory.initialize(eventBus, new InProcessRequestTransport(processor));
+        return requestFactory;
+    }
+
+    @Provides
+    @Singleton
+    AutoBeanFactory getAutoBeanFactory() {
         return AutoBeanFactorySource.create(AutoBeanFactory.class);
-	}
-    
+    }
+
     @Provides
     @Singleton
     AppCache getAppCache(AppSerializer serializer) {

Modified: james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockMessageSendDisplay.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockMessageSendDisplay.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockMessageSendDisplay.java (original)
+++ james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockMessageSendDisplay.java Thu Mar 20 08:16:02 2014
@@ -130,160 +130,160 @@ public class MockMessageSendDisplay impl
         return true;
     }
 
-	@Override
-	public void showCc() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void hideCc() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void showBcc() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void hideBcc() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void showReply() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void hideReply() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void showFollowup() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public void hideFollowup() {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public HasText getTo() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasText getCc() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasText getBcc() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasText getSubject() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers getCancelClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers getCcClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers get_CcClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers getBccClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers get_BccClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers getReplyClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers get_ReplyClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers getFollowupClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasClickHandlers get_FollowupClick() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasText getMessage() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public ListBox getFromList() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public void fillContactList(String[] contacts) {
-		// TODO Auto-generated method stub
-		
-	}
-
-	@Override
-	public String getFromText() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	@Override
-	public HasFocusHandlers getAttachButton() {
-		// TODO Auto-generated method stub
-		return null;
-	}
+    @Override
+    public void showCc() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void hideCc() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void showBcc() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void hideBcc() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void showReply() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void hideReply() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void showFollowup() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void hideFollowup() {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public HasText getTo() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasText getCc() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasText getBcc() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasText getSubject() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers getCancelClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers getCcClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers get_CcClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers getBccClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers get_BccClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers getReplyClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers get_ReplyClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers getFollowupClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasClickHandlers get_FollowupClick() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasText getMessage() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public ListBox getFromList() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public void fillContactList(String[] contacts) {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public String getFromText() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public HasFocusHandlers getAttachButton() {
+        // TODO Auto-generated method stub
+        return null;
+    }
 
 }

Modified: james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockUploader.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockUploader.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockUploader.java (original)
+++ james/hupa/trunk/client/src/test/java/org/apache/hupa/client/mock/MockUploader.java Thu Mar 20 08:16:02 2014
@@ -59,12 +59,12 @@ public class MockUploader implements IUp
 
     public void avoidRepeatFiles(boolean avoidRepeatFiles) {
         // TODO Auto-generated method stub
-        
+
     }
 
     public void cancel() {
         // TODO Auto-generated method stub
-        
+
     }
 
     public String fileUrl() {
@@ -99,7 +99,7 @@ public class MockUploader implements IUp
 
     public void reset() {
         // TODO Auto-generated method stub
-        
+
     }
 
     public void setFileInputPrefix(String prefix) {



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