1 2 Previous Next 16 Replies Latest reply on Sep 20, 2006 5:06 PM by claprun

    I can't see the tabs in my new portal.

      Hi,

      I created a new portal using the example provided by Jboss portal web site. I also associated the industrial theme to that portal. All that works. The issue I am having is that I can't see the tabs. I can't find where I am supposed to set this up. Any ideas?

      P.S. I tried using the "Admin" module and it is not working...

      Best regards,
      Mariella.

        • 1. Re: I can't see the tabs in my new portal.
          zerrt

          Are you using a layout that doesn't include the navigation region? Only thing I can think off.

          • 2. Re: I can't see the tabs in my new portal.
            peterj

            Did you add a navigation portlet window to the navigation panel of the pages in the new portal?

            Did you make any security changes?

            • 3. Re: I can't see the tabs in my new portal.

              hi,

              I am using a navigation region see below:


              <%= PortalConstants.VERSION.toString() %>
              <meta http-equiv="Content-Type" content="text/html;"/>


              <p:theme themeName='Blue-Theme'/>
              <p:headerContent/>










              <p:region regionName='navigation' regionID='navigation'/>





              <!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' -->
              <p:region regionName='left' regionID='regionA'/>

              <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
              <p:region regionName='center' regionID='regionB'/>














              I did not add a navigation portlet window tot he navigation panel...Hoe nca I do that?

              Thanks for the replies.

              Regards,
              Mariella.

              • 4. Re: I can't see the tabs in my new portal.

                 

                <head>
                 <title><%= PortalConstants.VERSION.toString() %></title>
                 <meta http-equiv="Content-Type" content="text/html;"/>
                
                 <script type="text/javascript"></script>
                 <p:theme themeName='GE-Blue'/>
                 <p:headerContent/>
                </head>
                
                <body id="body">
                <div id="portal-container">
                 <div id="sizer">
                 <div id="expander">
                 <div id="logoName"></div>
                 <table border="0" cellpadding="0" cellspacing="0" id="header-container">
                 <tr>
                 <td align="center" valign="top" id="header">
                 <p:region regionName='navigation' regionID='navigation'/>
                 <div id="spacer"></div>
                 </td>
                 </tr>
                 </table>
                 <div id="content-container">
                 <!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' -->
                 <p:region regionName='left' regionID='regionA'/>
                
                 <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
                 <p:region regionName='center' regionID='regionB'/>
                
                 <hr class="cleaner"/>
                
                 <div id="footer-container" class="portal-copyright"> GE - Capital Solutions<br/>
                 <span id="ThemeBy"></span>
                 </div>
                 </div>
                 </div>
                 </div>
                </div>
                </body>
                </html>


                • 5. Re: I can't see the tabs in my new portal.
                  peterj

                  Here is a *-object.xml file that declares a portal with two pages. Each page has a body portlet and the navigation portlet. Place this file in a WEB-INF within a war file and copy to the deploy folder. This is for JBoss Portal 2.4.0.GA.

                  portalb-object.xml:

                  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                  <deployments>
                   <deployment>
                   <if-exists>overwrite</if-exists>
                   <parent-ref />
                   <portal>
                   <portal-name>PortalB</portal-name>
                   <properties>
                   <property>
                   <name>portal.defaultObjectName</name>
                   <value>Page1</value>
                   </property>
                   <property>
                   <name>layout.id</name>
                   <value>generic</value>
                   </property>
                   <property>
                   <name>theme.id</name>
                   <value>Nphalanx</value>
                   </property>
                   <property>
                   <name>theme.renderSetId</name>
                   <value>divRenderer</value>
                   </property>
                   <property>
                   <name>layout.strategyId</name>
                   <value>maximizedRegion</value>
                   </property>
                   </properties>
                   <supported-modes>
                   <mode>view</mode>
                   <mode>edit</mode>
                   <mode>help</mode>
                   </supported-modes>
                   <supported-window-states>
                   <window-state>normal</window-state>
                   <window-state>minimized</window-state>
                   <window-state>maximized</window-state>
                   </supported-window-states>
                   <page>
                   <page-name>Page1</page-name>
                   <window>
                   <window-name>Navigation</window-name>
                   <instance-ref>NavigationPortletInstance</instance-ref>
                   <region>navigation</region>
                   <height>0</height>
                   <properties>
                   <property>
                   <name>theme.windowRendererId</name>
                   <value>emptyRenderer</value>
                   </property>
                   <property>
                   <name>theme.decorationRendererId</name>
                   <value>emptyRenderer</value>
                   </property>
                   <property>
                   <name>theme.portletRendererId</name>
                   <value>emptyRenderer</value>
                   </property>
                   </properties>
                   </window>
                   <window>
                   <window-name>CMS</window-name>
                   <instance-ref>CMSPortletInstance</instance-ref>
                   <region>center</region>
                   <height>0</height>
                   </window>
                   </page>
                   <page>
                   <page-name>Page2</page-name>
                   <window>
                   <window-name>Navigation</window-name>
                   <instance-ref>NavigationPortletInstance</instance-ref>
                   <region>navigation</region>
                   <height>0</height>
                   <properties>
                   <property>
                   <name>theme.windowRendererId</name>
                   <value>emptyRenderer</value>
                   </property>
                   <property>
                   <name>theme.decorationRendererId</name>
                   <value>emptyRenderer</value>
                   </property>
                   <property>
                   <name>theme.portletRendererId</name>
                   <value>emptyRenderer</value>
                   </property>
                   </properties>
                   </window>
                   <window>
                   <window-name>Image</window-name>
                   <instance-ref>WeatherPortletInstance</instance-ref>
                   <region>center</region>
                   <height>0</height>
                   </window>
                   </page>
                   </portal>
                   </deployment>
                  </deployments>



                  • 6. Re: I can't see the tabs in my new portal.

                    Thanks Peter,

                    will try that.

                    • 7. Re: I can't see the tabs in my new portal.

                      Hi,
                      I tried what you said and it work beautiful. I just have one issue though. For the Ajax option for example I can stillthe the tabs but if I click on SpringMVC or Stock News the tabs disapear...I compared the .xmls and all seems to be the same. I wonder if there is a particular configuration I am missing....

                      Any ideas would be appreciate it.

                      Thanks,
                      Mariella.


                      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                      <deployments>
                       <deployment>
                       <if-exists>overwrite</if-exists>
                       <parent-ref />
                       <portal>
                       <portal-name>GEPortal</portal-name>
                       <properties>
                       <property>
                       <name>portal.defaultObjectName</name>
                       <value>Home</value>
                       </property>
                       <property>
                       <name>layout.id</name>
                       <value>generic01</value>
                       </property>
                       <property>
                       <name>theme.id</name>
                       <value>GE-Blue</value>
                       </property>
                       <property>
                       <name>theme.renderSetId</name>
                       <value>divRenderer</value>
                       </property>
                       <property>
                       <name>layout.strategyId</name>
                       <value>maximizedRegion</value>
                       </property>
                       </properties>
                       <supported-modes>
                       <mode>view</mode>
                       <mode>edit</mode>
                       <mode>help</mode>
                       </supported-modes>
                       <supported-window-states>
                       <window-state>normal</window-state>
                       <window-state>minimized</window-state>
                       <window-state>maximized</window-state>
                       </supported-window-states>
                       <page>
                       <page-name>Home</page-name>
                       <window>
                       <window-name>Navigation</window-name>
                       <instance-ref>NavigationPortletInstance</instance-ref>
                       <region>navigation</region>
                       <height>0</height>
                       <properties>
                       <property>
                       <name>theme.windowRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       <property>
                       <name>theme.decorationRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       <property>
                       <name>theme.portletRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       </properties>
                       </window>
                       <window>
                       <window-name>MyPortletWindow</window-name>
                       <instance-ref>MyPortletInstance</instance-ref>
                       <region>left</region>
                       <height>0</height>
                       </window>
                       <window>
                       <window-name>CalculatorPortletWindow</window-name>
                       <instance-ref>CalculatorPortletInstance</instance-ref>
                       <region>left</region>
                       <height>1</height>
                       </window>
                       </page>
                       <page>
                       <page-name>SpringMVC</page-name>
                       <window>
                       <window-name>Navigation</window-name>
                       <instance-ref>NavigationPortletInstance</instance-ref>
                       <region>navigation</region>
                       <height>0</height>
                       <properties>
                       <property>
                       <name>theme.windowRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       <property>
                       <name>theme.decorationRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       <property>
                       <name>theme.portletRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       </properties>
                       </window>
                       <window>
                       <window-name>BooksPortletWindow</window-name>
                       <instance-ref>BooksPortletInstance</instance-ref>
                       <region>left</region>
                       <height>0</height>
                       </window>
                       </page>
                       <page>
                       <page-name>AJAX</page-name>
                       <window>
                       <window-name>Navigation</window-name>
                       <instance-ref>NavigationPortletInstance</instance-ref>
                       <region>navigation</region>
                       <height>0</height>
                       <properties>
                       <property>
                       <name>theme.windowRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       <property>
                       <name>theme.decorationRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       <property>
                       <name>theme.portletRendererId</name>
                       <value>emptyRenderer</value>
                       </property>
                       </properties>
                       </window>
                       <window>
                       <window-name>AJAXInvoiceViewerPortletWindow</window-name>
                       <instance-ref>AJAXInvoiceViewerPortletInstance</instance-ref>
                       <region>left</region>
                       <height>0</height>
                       </window>
                       </page>
                       </portal>
                       </deployment>
                      </deployments>


                      • 8. Re: I can't see the tabs in my new portal.
                        peterj

                        The page layout for Ajax and PringMVC appear to be the same. I don't know why the tabs are disappearing. Did you look in the source of the displayed html page (the browser will show this to you)? Perhaps they are there but just hidden for some reason. Or is there anything in the log that would indicate a problem with the navigation portlet? Also, have you set up any access control?

                        • 9. Re: I can't see the tabs in my new portal.

                          Hi Peter,

                          thank you very much for your promptly response. I will take a look on the things you mention. In the console nothing appears to be wrong. Also, I have another question I forgot to bring up in the previous email. The tabs are being organized by alphabetical order. I don't want that. I want to be able to control the order that I display the menu choices...Where can I change that? In the portal-style.css?

                          Thanks once again,
                          Mariella.

                          • 10. Re: I can't see the tabs in my new portal.

                            Hi,

                            this is very weird. I looked in the source of the html and the <div id="navigation" ..> is not being displayed. Is not there. I wonder why this is happening...It hapens also if I deploy on jboss-portal.sar...Do you think it could be a bug in the SpringMVC portlet?

                            Thanks,
                            Mariella.

                            • 11. Re: I can't see the tabs in my new portal.

                              ok this is still weird but it is working now...in the file springportlet-object.xml, I removed the code line <if-exists>overwrite</if-exists>. It works, It is showing the tabs when I click on SpringMVC option...

                              • 12. Re: I can't see the tabs in my new portal.

                                Sorry I forgot to mention...I still can't figure it out how to change the order of the tabs...it is displaying in alphabetical order...I would like to be able to order the tabs in a non alphabetical order...

                                Please, any thoughts would be appreciate it.

                                Thanks
                                Mariella.

                                • 13. Re: I can't see the tabs in my new portal.
                                  peterj

                                  I don't know of any way to control the tab order. I have seen others use schemes like 1One, 2Two, 3Three, etc.

                                  • 14. Re: I can't see the tabs in my new portal.

                                    Explciit ordering and localization of tabs is already checked in to trunk, but not available in the 2.4 branch.

                                    1 2 Previous Next