You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by bu...@apache.org on 2003/03/10 20:29:41 UTC

DO NOT REPLY [Bug 17839] New: - Category filtering enhancement

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17839>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17839

Category filtering enhancement

           Summary: Category filtering enhancement
           Product: Jetspeed
           Version: 1.4b4-dev /CVS
          Platform: All
               URL: http://127.0.0.1/jetspeed/portal/media-
                    type/html/user/turbine/page/default.psml/template/Custom
                    ize/mode/add?mtype=html
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Customizer
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: glen@buonvia.com


The following category filter proposed by John Christopher would be very useful
for portals that have many portlets to select from. The subcategories for news
serve as an immediate example. Hopefully, John Christopher will reference this
bug when he submits software to support this enhancment.

----
On Saturday 08 March 2003 18:32, John Christopher <jo...@animalsinneed.net> wrote:
 I implemented some changes to the way the category drop down list is
 displayed when selecting portlets to add. In my implementation, the drop
 down list only shows the first word of all the categories at first, and
 then once a category is selected, the list only shows; All Portlets, the
 parent category clicked(ie news), and all children categories of that
 parent(ie
 news.technology etc...). This helps with sites that do or plan on having
 numerous portlets. Attached are the files changed and below is a list of
 what was changed. Could this possibly be added to the distribution?
 Thanks,
 John

org.apache.jetspeed.om.registry.base
BaseCategory.java - implemented Comparable - using the name to compare

org.apache.jetspeed.modules.actions.portlets
CustomizeSetAction.java - added two protected methods getCategoryParents
and getCategoryLists. These filter the parent category names out of the
original category list and creates a map of the parent name to child list
which is added to the context.

WEB-INF\templates\vm\portlets\html\
customizer-portletset-add.vm - changed to use the map of category lists and
update the list depending on which category the user clicks.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org