hey all,
i try to open a page/view on the right of die administration view. i created a web section and a web item. Now, a click on the web item shoul open the view on the right, but with the xwork modul it opens a whole new page.
<web-section key="mailServerConfig" name="Mailserver Configuration" location="system.admin" weight="110" application="bamboo"> <label key="Mailserver Configuration" /> <!-- <condition class="com.atlassian.bamboo.plugin.webfragment.conditions.UserIsAdminCondition" /> --> </web-section>Thank x <web-item key="bamboo-menu-item" name="XProduct Admin" section="system.admin/mailServerConfig" weight="10" application="bamboo"> <label key="XProduct Admin" /> <link linkId="my-web-item-link">/mailserver/mailserver.action</link> </web-item> <xwork key="mailServerAction" name="mailServerAction"> <package name="mailserver" extends="default"> <action name="mailserver" class="com.atlassian.bamboo2.printOut.MyAction"> <result name="success" type="freemarker">/admin.ftl</result> </action> </package> </xwork>
thanks!
Answer:
In the head of the ftl file wich is opening via xwork:
<head>
<title></title>
<meta name="decorator" content="atl.admin" />
</head>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.