4 Replies Latest reply on Dec 16, 2005 11:00 AM by danny_hon

    How to change navigation portlet??

    lnuxguy

      How do I change the contents of the navigation portlet? I'm testing it out, and need to change the structure..

        • 1. Re: How to change navigation portlet??

          (in 2.2)
          write your own portlet, and replace the instance-ref in the window description, or the component-ref in the instance description if you want to keep the instance-ref name (anf if you want to change the name in only one location).

          • 2. Re: How to change navigation portlet??
            lnuxguy

            So the navigation portlet isn't even really changable? If you add a page, and want to add a link to it in the nav portlet, you have to rewrite it???

            • 3. Re: How to change navigation portlet??

              no , you don't have to rewrite it if you want a new page to show up ! Have you even tried that ? Obviously not ;)

              You asked how you could change the structure of the portlet, and yes, for that you'll have to change code.

              Perhaps if you can elaborate a bit more about what it is that you try to acomplish, I could give you more detailed advice.

              • 4. Re: How to change navigation portlet??
                danny_hon

                I am trying to do the same thing. The NavigationPortlet does not provide what we need. We need internationalization support, and able to order the tabs not based on their names. Previously, we have the navigation built into the layout. It does not work on 2.2 since some of the methods are not supported. Is it not possible to provide our own navigation portlet? I tried to create one by copying the NavigationPortlet, but it throws exception of not able to locate current JTA.