Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/taglib
In directory 
james.mmbase.org:/tmp/cvs-serv6598/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/taglib

Modified Files:
        GetTagsTag.java 
Log Message:
CMSC-1066 Worked on with implementing the tag cloud module


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/taglib
See also: http://www.mmbase.org/jira/browse/CMSC-1066


Index: GetTagsTag.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/taglib/GetTagsTag.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- GetTagsTag.java     15 Sep 2008 09:40:19 -0000      1.1
+++ GetTagsTag.java     18 Sep 2008 11:21:21 -0000      1.2
@@ -14,11 +14,12 @@
        private String var;
        private Integer max;
        private String orderby = TagCloudUtil.ORDERBY_COUNT;
+       private String direction;
 
        public void doTag() throws JspException, IOException {
                super.doTag();
                
-               List<Tag> tags = TagCloudUtil.getTags(max, orderby);
+               List<Tag> tags = TagCloudUtil.getTags(max, orderby, direction);
                getJspContext().setAttribute(var, tags);
        }
        
@@ -37,5 +38,8 @@
                this.var = var;
        }
 
+       public void setDirection(String direction) {
+               this.direction = direction;
+       }
        
 }
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to