AnsweredAssumed Answered

Tabs in Admin Console don't get highlighted, Sections won't get displayed

Question asked by markuslachinger on Feb 24, 2014
Latest reply on Mar 12, 2014 by markuslachinger

I am developing a plugin for Jive 7 and run into the following problem.

 

I add a tab to the admin console and add two sections.

 

      

 <component id="admin-console">


            <tab id="be" name="admin.bv"
                 description="admin.decorator.menu.system.description" role="Manage System, Manage Community, Manage Users">


                <section id="section-bv2" name="admin.decorator.menu.system.management"
                         description="admin.decorator.menu.system.management.description" role="Manage System, Manage Community">

                    <item id="system-bv" name="admin.decorator.menu.system.information" role="Manage Hosting"
                          url="be-main.jspa"
                          description="admin.decorator.menu.system.information.description"/>
                    <item id="system-bv2" name="admin.bvconfig" role="Manage Hosting"
                          url="be-config.jspa"
                          description="admin.decorator.menu.system.information.description"/>

                </section>


                <section id="section-bv" name="admin.decorator.menu.system.management"
                         description="admin.decorator.menu.system.management.description" role="Manage System, Manage Community">

                    <item id="system-bv" name="admin.decorator.menu.system.information" role="Manage Hosting"
                          url="be-foobar.jspa"
                          description="admin.decorator.menu.system.information.description"/>

                </section>


            </tab>

 

 

The tab shows up but when I click on it, the tab does not highlight and the sections don't show up:

 

 

Screen Shot 2014-02-24 at 1.20.55 PM.png

 

 

Do I have to add some specific things to the struts.xml or the action?  I couldn't find anything in the jive-fu plugin.

 

 

struts.xml

<package name="foo-plugin-admin-actions" namespace="/admin" extends="community-admin-default">
        <action name="be-main" class="com.b.action.MainAction">
            <!--<result name="error" type="freemarker">/plugins/testPlugin/resources/templates/admin/adminTest.ftl</result>-->
            <!--<result name="input" type="freemarker">/plugins/testPlugin/resources/templates/admin/adminTest.ftl</result>-->
            <result name="success" type="freemarker">/plugins/testPlugin/resources/templates/admin/adminTest.ftl</result>
            <result name="setup" type="redirect"><param name="location">/be-config.jspa</param></result>
        </action>

Outcomes