From: davejmartin <dav...@us...> - 2008-01-31 11:46:23
|
Update of /cvsroot/gbif/portal-registry/src/main/java/org/gbif/portal/web/controller In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11602/src/main/java/org/gbif/portal/web/controller Modified Files: CollectionsBrowserController.java Log Message: polygon generation and rendering Index: CollectionsBrowserController.java =================================================================== RCS file: /cvsroot/gbif/portal-registry/src/main/java/org/gbif/portal/web/controller/CollectionsBrowserController.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CollectionsBrowserController.java 25 Jan 2008 19:19:37 -0000 1.3 --- CollectionsBrowserController.java 31 Jan 2008 11:46:22 -0000 1.4 *************** *** 201,204 **** --- 201,210 ---- } + //retrieve all associated months + logger.debug("Adding polygon tags"); + List<StringTag> polygonTags = tagDAO.retrieveStringTagsForEntity(1102, id); + if(polygonTags!=null && !polygonTags.isEmpty()){ + mav.addObject("polygonTags", polygonTags); + } return mav; } |