From 2e2da08a3fbca6a5927fda1656a57b845150b8b8 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Wed, 18 Feb 2004 13:03:00 +0000 Subject: [PATCH] UI design improved git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2231 b35dd754-fafc-0310-a699-88a17e54d16e --- sample/web/addContact.jsp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sample/web/addContact.jsp b/sample/web/addContact.jsp index a6cce497b..0874eec1b 100644 --- a/sample/web/addContact.jsp +++ b/sample/web/addContact.jsp @@ -1,7 +1,7 @@ <%-- - - $$RCSfile$$ - - $$Revision$$ - - $$Date$$ + - $RCSfile$ + - $Revision$ + - $Date$ - - Copyright (C) 2002-2003 Jive Software. All rights reserved. - @@ -67,11 +67,12 @@ String group1 = getParameter(request, "group1"); String group2 = getParameter(request, "group2"); - if (user != null) { - roster.createEntry(user, nickname, new String[] {group1, group2}); - response.sendRedirect("viewRoster.jsp"); - return; - } + // Create a new entry in the roster that belongs to a certain groups + if (user != null) { + roster.createEntry(user, nickname, new String[] {group1, group2}); + response.sendRedirect("viewRoster.jsp"); + return; + } %> @@ -83,7 +84,7 @@ - +
Add contact to rosterView rosterView roster