Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/portlet
In directory
james.mmbase.org:/tmp/cvs-serv25518/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/portlet
Modified Files:
TagCloudPortlet.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/portlet
See also: http://www.mmbase.org/jira/browse/CMSC-1066
Index: TagCloudPortlet.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-tagcloud/src/java/com/finalist/portlets/tagcloud/portlet/TagCloudPortlet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- TagCloudPortlet.java 7 Oct 2008 12:05:00 -0000 1.3
+++ TagCloudPortlet.java 14 Oct 2008 12:09:59 -0000 1.4
@@ -18,10 +18,10 @@
protected void doView(RenderRequest req, RenderResponse res)
throws PortletException, IOException {
PortletPreferences preferences = req.getPreferences();
- String maxString = preferences.getValue("max", null);
+ String maxString = preferences.getValue("param_max", null);
Integer max = (maxString == null) ? null :
Integer.parseInt(maxString);
- String orderBy = preferences.getValue("orderBy", null);
+ String orderBy = preferences.getValue("param_orderBy", null);
List<Tag> tags = TagCloudUtil.getTags(max, orderBy, "up");
req.setAttribute("tags", tags);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs