powered by Jive Software

No sidebar in admin console for plugin

I am having trouble with my Openfire plugin. My plugin works correctly and shows up in the admin page as desired, but I do not get the sidebar in my plugin page. It is located correctly under Server->Server Settings, but when I click on it I lose both the sidebar and the upper bar (not the topmost bar though). Does anyone have any ideas as to what might cause this?

My plugin.xml looks like this :

<?xml version="1.0" encoding="UTF-8"?>

<id item=“user-super-search” name=“User Super Search”

url=“super_search.jsp”

description=“Click to administer the super search plugin” />

几经测试,终于发现此问题可如下解决:

在自己的plugin jsp中,加入,其中my-pageid就是你在plugin.xml中定义的jsp的id;

加入,则可以去掉所有的sidebar,是你的页面成为顶级页面。