/*\r
- * Copyright 2007, 2008, 2009 Electronic Business Systems Ltd.\r
+ * Copyright 2007, 2008, 2009, 2010 Electronic Business Systems Ltd.\r
*\r
* This file is part of GSS.\r
*\r
import gr.ebs.gss.client.rest.GetCommand;\r
import gr.ebs.gss.client.rest.resource.TagsResource;\r
\r
-import java.util.Iterator;\r
import java.util.List;\r
\r
import com.google.gwt.core.client.GWT;\r
import com.google.gwt.user.client.ui.Anchor;\r
import com.google.gwt.user.client.ui.DialogBox;\r
import com.google.gwt.user.client.ui.FlowPanel;\r
+import com.google.gwt.user.client.ui.Label;\r
import com.google.gwt.user.client.ui.TabPanel;\r
import com.google.gwt.user.client.ui.TextBox;\r
\r
allTagsContent.clear();\r
TagsResource tagr = getResult();\r
List<String> userTags = tagr.getTags();\r
- Iterator t = userTags.iterator();\r
- while (t.hasNext()) {\r
- final Anchor tag = new Anchor ((String) t.next() +" ");\r
+ Anchor tag = null;\r
+ for(String usrTag : userTags){\r
+ tag = new Anchor(usrTag.toString(), false);\r
+ tag.addStyleName("gss-tag");\r
allTagsContent.add(tag);\r
+ Label separator = new Label(", ");\r
+ separator.addStyleName("gss-tag");\r
+ allTagsContent.add(separator);\r
tag.addClickHandler( new ClickHandler() {\r
\r
@Override\r