Details

    • Type: Bug Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.4b4-dev / CVS
    • Fix Version/s: None
    • Component/s: Customizer
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      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 <john@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.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12561437 ] jira [ 12582320 ]
        Mark Thomas made changes -
        Assignee Jetspeed Developer Mailing List [ jetspeed-dev@jakarta.apache.org ]
        Mark Thomas made changes -
        Workflow jira [ 27497 ] Default workflow, editable Closed status [ 12561437 ]
        Serge Knystautas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 17839 17502
        Hide
        Mark Orciuch added a comment -

        Sounds like a fantastic idea! I'm looking forward to seeing your patches.

        Show
        Mark Orciuch added a comment - Sounds like a fantastic idea! I'm looking forward to seeing your patches.
        Hide
        John Christopher added a comment -

        I am in the process of refactoring this so that it can seemlessly integrate into Jetspeed
        without changing the current scheme so that way if a site deploying doesn't want the
        functionality, it will default to the current way of displaying Categories in the drop down list.

        John

        Show
        John Christopher added a comment - I am in the process of refactoring this so that it can seemlessly integrate into Jetspeed without changing the current scheme so that way if a site deploying doesn't want the functionality, it will default to the current way of displaying Categories in the drop down list. John
        Hide
        Mark Orciuch added a comment -

        I still have to take a look at this to see whether we want to include this in
        the final release (or after).

        Show
        Mark Orciuch added a comment - I still have to take a look at this to see whether we want to include this in the final release (or after).
        Hide
        Mark Orciuch added a comment -

        Sorry but I'll have to defer this to the next release

        Show
        Mark Orciuch added a comment - Sorry but I'll have to defer this to the next release
        Hide
        John Christopher added a comment -

        This second iteration added an entry in JetspeedResources.properties to set the
        default parse depth. This value must be 1..n

        Show
        John Christopher added a comment - This second iteration added an entry in JetspeedResources.properties to set the default parse depth. This value must be 1..n
        Hide
        John Christopher added a comment -

        Created an attachment (id=5768)
        diff's of the files I changed.

        Show
        John Christopher added a comment - Created an attachment (id=5768) diff's of the files I changed.
        Hide
        John Christopher added a comment -

        Created an attachment (id=5251)
        gzip'd arch of the changed files

        Show
        John Christopher added a comment - Created an attachment (id=5251) gzip'd arch of the changed files
        Glen Carl created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Glen Carl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development