mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
131 lines
5.6 KiB
Plaintext
131 lines
5.6 KiB
Plaintext
<%--
|
|
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* As a special exception to the terms and conditions of version 2.0 of
|
|
* the GPL, you may redistribute this Program in connection with Free/Libre
|
|
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
|
* FLOSS exception. You should have recieved a copy of the text describing
|
|
* the FLOSS exception, and it is also available here:
|
|
* http://www.alfresco.com/legal/licensing"
|
|
--%>
|
|
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
|
|
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
|
|
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
|
<%@ page isELIgnored="false" %>
|
|
<script type="text/javascript">
|
|
window.onload = function() { document.getElementById("wizard:finish-button").focus(); }
|
|
</script>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top: 4px; padding-bottom: 4px;"
|
|
width="100%" rowClasses="wizardSectionHeading">
|
|
<h:outputText value=" #{msg.create_web_content_summary_content_details}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="3" cellspacing="3" border="0" width="100%">
|
|
<a:selectList id="form-instance-data-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<a:listItem label="<b>${WizardManager.bean.formInstanceData.name}<b/>"
|
|
value="${WizardManager.bean.formInstanceData.name}"
|
|
image="/images/filetypes32/xml.gif">
|
|
<jsp:attribute name="description">
|
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
<colgroup><col width="25%"/><col width="75%"/></colgroup>
|
|
<tbody>
|
|
<tr><td>${msg.form}:</td><td>${WizardManager.bean.form.title}</td></tr>
|
|
<tr><td>${msg.location}:</td><td>${WizardManager.bean.formInstanceData.sandboxRelativePath}</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</jsp:attribute>
|
|
</a:listItem>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top: 4px; padding-bottom: 4px;"
|
|
width="100%" rowClasses="wizardSectionHeading"
|
|
rendered="#{!empty WizardManager.bean.renditions}">
|
|
<h:outputText value=" #{msg.create_web_content_summary_rendition_details}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="3" cellspacing="3" border="0" width="100%"
|
|
rendered="#{!empty WizardManager.bean.renditions}">
|
|
<a:selectList id="rendition-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<c:forEach items="${WizardManager.bean.renditions}"
|
|
var="rendition"
|
|
varStatus="status">
|
|
<a:listItem id="listItem${status.index}"
|
|
label="<b>${rendition.name}</b>"
|
|
value="${rendition.name}"
|
|
image="${rendition.fileTypeImage}">
|
|
<jsp:attribute name="description">
|
|
<span style="float:right;">
|
|
<a id="preview${status.index}"
|
|
href="${rendition.url}"
|
|
style="text-decoration: none;"
|
|
target="window_${status.index}_${rendition.name}">
|
|
<jsp:element name="img">
|
|
<jsp:attribute name="src" trim="true">
|
|
<c:out value="${pageContext.request.contextPath}"/>/images/icons/preview_website.gif
|
|
</jsp:attribute>
|
|
<jsp:attribute name="align">absmiddle</jsp:attribute>
|
|
<jsp:attribute name="style">border: 0px</jsp:attribute>
|
|
<jsp:attribute name="alt">${rendition.name}</jsp:attribute>
|
|
</jsp:element>
|
|
</a>
|
|
</span>
|
|
<span>${rendition.description}</span>
|
|
</jsp:attribute>
|
|
</a:listItem>
|
|
</c:forEach>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top: 4px; padding-bottom: 4px;"
|
|
width="100%" rowClasses="wizardSectionHeading"
|
|
rendered="#{!empty WizardManager.bean.uploadedFiles}">
|
|
<h:outputText value=" #{msg.create_web_content_summary_uploaded_files_details}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="3" cellspacing="3" border="0" width="100%"
|
|
rendered="#{!empty WizardManager.bean.uploadedFiles}">
|
|
<a:selectList id="uploaded-file-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<a:listItems value="#{WizardManager.bean.uploadedFiles}"/>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top: 4px; padding-bottom: 4px;"
|
|
width="100%">
|
|
<h:column>
|
|
<h:selectBooleanCheckbox id="startWorkflow"
|
|
value="#{WizardManager.bean.startWorkflow}"/>
|
|
<h:outputFormat value=" #{msg.create_web_content_summary_submit_message}" escape="false">
|
|
<f:param value="#{WizardManager.bean.numberOfSubmittableFiles}"/>
|
|
<f:param value="#{WizardManager.bean.formInstanceData.name}"/>
|
|
</h:outputFormat>
|
|
</h:column>
|
|
</h:panelGrid>
|