%@ page import="com.atlassian.jira.web.component.DashboardPageConfigUrlFactoryImpl" %>
<%@ page import="com.atlassian.jira.web.component.DashboardPageWebComponent" %>
<%@ page import="com.atlassian.seraph.auth.DefaultAuthenticator" %>
<%@ page import="com.opensymphony.user.User" %>
<%@ page import="webwork.action.ActionContext" %>
<%@ page import="java.util.List" %>
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>
<%-- When there are page tabs visible, increase the margin of the containing table, to distance it from
the JIRA title text above --%>
| |
"> |
:
|
">
"> |
">
|
"> ">
">
|
<%
final Long dashboardPageId = (Long) request.getAttribute("cpid");
final boolean editMode = ((Boolean) request.getAttribute("editmode")).booleanValue();
User user = (User) ActionContext.getSession().get(DefaultAuthenticator.LOGGED_IN_KEY);
DashboardPageConfigUrlFactoryImpl urlFactory = new DashboardPageConfigUrlFactoryImpl(dashboardPageId);
List selectedPortlets = (List /**/) request.getAttribute("selectedportlets");
DashboardPageWebComponent.Configuration configuration = new DashboardPageWebComponent.Configuration(editMode, true);
%><%= new DashboardPageWebComponent(user).getHtml(dashboardPageId, urlFactory, selectedPortlets, configuration) %>