Files
alfresco-community-repo/source/web/jsp/wcm/create-website-wizard/forms.jsp
Kevin Roast 202f9d5957 . Message for "Website" changes to "Web Project" for appropriate wizards and actions
. New JSF component called SelectList
 - This generic selection component displays a graphical list of items, each with an optional icon, label, description and tooltip.
 - The list has three selection modes; single select (radio), multi-select (checkbox) and 'active' selection mode.
 - The 'active' selection mode renders any child command components (such as ActionLink or CommandButton components) which can then data-bind to each row item in the list. i.e. to allow buttons or links with context for each item.
 - This various selection modes covers the usage for 4 different screens in the WCM wireframes
. Forms page (new step 2) added to Create Web Project wizard
 - this is currently mostly a test page for the SelectList component

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-26 17:42:08 +00:00

47 lines
2.0 KiB
Plaintext

<%--
Copyright (C) 2005 Alfresco, Inc.
Licensed under the Mozilla Public License version 1.1
with a permitted attribution clause. You may obtain a
copy of the License at
http://www.alfresco.org/legal/license.txt
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.
--%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
<%@ page isELIgnored="false" %>
<h:panelGrid columns="1" cellpadding="2" cellpadding="3" width="100%">
<h:outputText styleClass="mainSubText" value="#{msg.website_select_form}:" />
<a:selectList multiSelect="true" activeSelect="false" value="#{WizardManager.bean.formsSelectedValue}"
styleClass="selectListTable" itemStyleClass="selectListItem">
<a:listItems value="#{WizardManager.bean.formsList}" />
</a:selectList>
<h:outputText styleClass="mainSubText" value="#{msg.website_select_form}:" />
<a:selectList multiSelect="false" activeSelect="false"
styleClass="selectListTable" itemStyleClass="selectListItem">
<a:listItems value="#{WizardManager.bean.formsList}" />
</a:selectList>
<h:outputText styleClass="mainSubText" value="#{msg.website_select_form}:" />
<a:selectList var="r" multiSelect="false" activeSelect="true"
styleClass="selectListTable" itemStyleClass="selectListItem">
<a:listItems value="#{WizardManager.bean.formsList}" />
<h:commandButton value="Add to List" styleClass="dialogControls">
<f:param name="id" value="#{r.value}" />
</h:commandButton>
</a:selectList>
</h:panelGrid>