mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- adding a utility method to ConfigElement to get a list of child config elements by name - using JSONObject to generate js rendition of config - adding a build script to build json.jar since json.org only distributes source - adding a preview link for form instance data to create web content summary screen - doing the full jsp2.0 thing with summary screen for create website, i have a hunch it will fix a websphere issue git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
204 lines
8.3 KiB
Plaintext
204 lines
8.3 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
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
* 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"
|
|
-->
|
|
<jsp:root version="1.2"
|
|
xmlns:jsp="http://java.sun.com/JSP/Page"
|
|
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
|
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
|
|
xmlns:a="urn:jsptld:/WEB-INF/alfresco.tld"
|
|
xmlns:f="http://java.sun.com/jsf/core"
|
|
xmlns:h="http://java.sun.com/jsf/html">
|
|
|
|
<jsp:output doctype-root-element="html"
|
|
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
|
|
|
|
<jsp:directive.page language="java" buffer="32kb" contentType="text/html; charset=UTF-8"/>
|
|
<jsp:directive.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.general_properties}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="3" cellspacing="3" border="0" width="100%">
|
|
<a:selectList id="webproject-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%;"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<a:listItem value="${WizardManager.bean.name}"
|
|
image="/images/icons/website_large.gif">
|
|
<jsp:attribute name="label"><b>${WizardManager.bean.name}</b></jsp:attribute>
|
|
<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.website_dnsname}:</td><td> ${WizardManager.bean.dnsName}</td></tr>
|
|
<tr><td>${msg.website_webapp}:</td><td> ${WizardManager.bean.webapp}</td></tr>
|
|
<tr><td>${msg.title}:</td><td> ${WizardManager.bean.title}</td></tr>
|
|
<tr><td>${msg.description}:</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${empty WizardManager.bean.description}">
|
|
<span style="font-style:italic">${msg.description_not_set}</span>
|
|
</c:when>
|
|
<c:otherwise>${WizardManager.bean.description}</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</jsp:attribute>
|
|
</a:listItem>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top:16px;padding-bottom:4px;"
|
|
width="100%" rowClasses="wizardSectionHeading">
|
|
<h:outputText value=" #{msg.website_web_content_forms}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="2" cellpadding="3" cellspacing="3" border="0" width="100%">
|
|
<h:outputText rendered="#{empty WizardManager.bean.forms}"
|
|
value="#{msg.no_selected_items}"/>
|
|
<a:selectList id="form-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%;"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<c:forEach items="${WizardManager.bean.forms}" var="r">
|
|
<a:listItem value="${r.name}"
|
|
image="/images/icons/webform_large.gif">
|
|
<jsp:attribute name="label"><b>${r.name}</b></jsp:attribute>
|
|
<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.name}:</td><td> ${r.name}</td></tr>
|
|
<tr><td>${msg.title}:</td><td> ${r.title}</td></tr>
|
|
<tr><td>${msg.output_path_pattern}:</td><td> ${r.outputPathPattern}</td></tr>
|
|
<tr><td>${msg.description}:</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${empty WizardManager.bean.description}">
|
|
<span style="font-style:italic">${msg.description_not_set}</span>
|
|
</c:when>
|
|
<c:otherwise>${r.description}</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
<tr><td>${msg.workflow}:</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${r.workflow == null}">
|
|
<span style="font-style:italic">${msg.none}</span>
|
|
</c:when>
|
|
<c:otherwise>${r.workflow.title}</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</jsp:attribute>
|
|
</a:listItem>
|
|
</c:forEach>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top:16px;padding-bottom:4px;"
|
|
width="100%" rowClasses="wizardSectionHeading">
|
|
<h:outputText value=" #{msg.website_selected_workflows}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="3" cellspacing="3" border="0" width="100%">
|
|
<h:outputText rendered="#{empty WizardManager.bean.workflows}"
|
|
value="#{msg.no_selected_items}"/>
|
|
<a:selectList id="workflow-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%;"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<c:forEach items="${WizardManager.bean.workflows}" var="r">
|
|
<a:listItem value="${r.name}"
|
|
image="/images/icons/workflow_large.gif">
|
|
<jsp:attribute name="label"><b>${r.title}</b></jsp:attribute>
|
|
<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.description}:</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${empty r.description}">
|
|
<span style="font-style:italic">${msg.description_not_set}</span>
|
|
</c:when>
|
|
<c:otherwise>${r.description}</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
<tr><td>${msg.website_filename_pattern}:</td><td> ${r.filenamePattern}</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</jsp:attribute>
|
|
</a:listItem>
|
|
</c:forEach>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="2" style="padding-top:16px"
|
|
width="100%" rowClasses="wizardSectionHeading">
|
|
<h:outputText value=" #{msg.create_website_summary_users}" escape="false" />
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="1" cellpadding="3" cellspacing="3" border="0"
|
|
width="100%"
|
|
style="margin-left:12px">
|
|
<a:selectList id="users-list"
|
|
multiSelect="false"
|
|
activeSelect="true"
|
|
style="width:100%;"
|
|
itemStyle="vertical-align: top; margin-right: 5px;">
|
|
<c:forEach items="${WizardManager.bean.invitedUsers}" var="r">
|
|
<a:listItem value="${r.name}"
|
|
image="/images/icons/user_large.gif">
|
|
<jsp:attribute name="label"><b>${r.name}</b></jsp:attribute>
|
|
<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.roles}:</td><td> ${r.role}</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</jsp:attribute>
|
|
</a:listItem>
|
|
</c:forEach>
|
|
</a:selectList>
|
|
</h:panelGrid>
|
|
</jsp:root>
|