<%-- Copyright 2004,2005 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%@ page language="java" %> <%@ page import="java.util.Map" %> <%@ page import="javax.portlet.RenderRequest" %> <%@ page import="javax.portlet.PortletPreferences" %> <%@ page import="javax.portlet.RenderResponse" %> <%@ page import="javax.portlet.PortletURL" %> <%@ page import="javax.portlet.PortletMode" %> <%@ page import="org.apache.pluto.portlet.admin.bean.PageTO" %> <%@ page import="org.apache.pluto.portlet.admin.bean.PortletTO" %> <%@ page import="org.apache.pluto.portlet.admin.PlutoAdminConstants" %> <%@ taglib uri='http://java.sun.com/portlet' prefix='portlet'%> <%@ taglib uri="http://portals.apache.org/pluto/admin" prefix="pluto-admin" %> <% PageTO ppage = (PageTO)renderRequest.getPortletSession().getAttribute(PlutoAdminConstants.PAGE_ATTR); Map pmap = (Map)renderRequest.getPortletSession().getAttribute(PlutoAdminConstants.PORTLET_MAP_ATTR); int pcount = 1; if (pmap != null) { pcount = pmap.size(); if (pcount == 0) { pcount = 1; } } %>

Enter layout information for <%= ppage.getName() %> portlet app

Title:
Description:

Layout for the <%= pcount %> portlet<%= pcount > 1 ? "s" : "" %> in this application:

Number of columns: " onBlur="validateRequired(this);">
Number of rows: " onBlur="checkCount(this);">

Deploy War home