2 Replies Latest reply on Oct 12, 2012 9:00 AM by Joe Padula

    [GateIn 3.4.0.Final] Second Tab in Container not Coming into Focus

    Joe Padula Novice

      In GateIn 3.0.0-GA we used to have a two portlets that could be launched from a two tab panel in GateIn Portal. I cannot get that to work in GateIn 3.4.0.Final. When I click on the second tab, it does not come into focus and I get a javascript error. It is not working in IE8, Firefox or Chrome.

       

      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1; .NET CLR 1.1.4322)

      Timestamp: Wed, 10 Oct 2012 20:57:26 UTC

        

      Message: 'eXo.webui.UIHorizontalTabs' is null or not an object

      Line: 861

      Char: 1

      Code: 0

      URI: http://dev-vm-00:8180/portal/devhttp://dev-vm-00:8180/portal/dev/sources/sourcesAdministration/sources/sourcesAdministration

       

      The only other posting regarding this that I could find is this one, and I double checked our code still looks current to me.

      https://community.jboss.org/thread/155404

       

      Here is what we have in 02portal.war/WEB-INF/conf/portal/portal/dev/pages.xml

       

      <page>
        <name>sourcesAndSensorsAdministration</name>
        <title>Sources and Sensors Administration</title>
        <access-permissions>*:/dev/roles/DEV-Admins</access-permissions>
        <edit-permission>*:/platform/administrators</edit-permission>

              <container template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
               <access-permissions>Everyone</access-permissions>
               <container template="system:/groovy/portal/webui/container/UITabContainer.gtmpl">
                  <access-permissions>Everyone</access-permissions>
                  <factory-id>TabContainer</factory-id>
                  <container template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
                     <title>Sources Admin</title>
                     <access-permissions>Everyone</access-permissions>
                     <portlet-application>
                        <portlet>
                           <application-ref>dev-portlet-sources-and-sensors</application-ref>
                           <portlet-ref>Consolidated Source Administration Portlet</portlet-ref>
                        </portlet>
                        <theme>Default:DefaultTheme::Vista:VistaTheme::Mac:MacTheme</theme>
                        <title>Sources Administration</title>
                        <access-permissions>Everyone</access-permissions>
                        <show-info-bar>true</show-info-bar>
                        <show-application-state>true</show-application-state>
                        <show-application-mode>true</show-application-mode>
                        <description>Consolidated Source Administration Portlet</description>
                     </portlet-application>
                  </container>
                  <container template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
                     <title>Sensor Groups</title>
                     <access-permissions>Everyone</access-permissions>
                     <portlet-application>
                        <portlet>
                           <application-ref>dev-portlet-sources-and-sensors</application-ref>
                           <portlet-ref>Sensor Groups Editor Portlet</portlet-ref>
                        </portlet>
                        <theme>Default:DefaultTheme::Vista:VistaTheme::Mac:MacTheme</theme>
                        <title>Sensor Groups Editor</title>
                        <access-permissions>Everyone</access-permissions>
                        <show-info-bar>true</show-info-bar>
                        <show-application-state>true</show-application-state>
                        <show-application-mode>true</show-application-mode>
                        <description>Sensor Groups Editor Portlet</description>
                     </portlet-application>
                  </container>
               </container>
            </container>
      </page>

       

      Environment:

      RichFaces 4.2.2.Final

      JBoss Portlet Bridge 3.0.1.Beta1

       

      Thanks in advance for any advice.