NIFTY Feature – Single Tool Maximized

I just added a feature
http://bugs.sakaiproject.org/jira/browse/SAK-9799
This detects when there is only one tool present in the tool list and then only shows that tool. Like this:
http://bugs.sakaiproject.org/jira/secure/attachment/13879/singletoolmaximized.jpg
This requirement was inspired when I went to Cambridge and watched a seminar where the faculty member did his *whole class* in the wiki. I thought that it was a brilliant and clever approach.
This allows users to even redirect their whole site to another LMS bu using the web tool as the only visible tool and pointing to a URL to something like the /portal/worksite URL.
Other approaches might be melete-only, resources-only, discussion-only, LAMS-only. You could even use the iframe tool and do your whole site using DAV :) The web content tool effectively allows a complete redirect of the site to some other place!
I hope folks find this useful.


Sending portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java
Sending portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/GalleryHandler.java
Sending portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java
Sending portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/WorksiteHandler.java
Sending portal-render-engine-impl/pack/src/webapp/vm/defaultskin/macros.vm
Sending portal-util/util/src/java/org/sakaiproject/portal/util/PortalSiteHelper.java
Transmitting file data ……
Committed revision 29781.