| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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. |
| --> |
| |
| <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| |
| <screen name="FindContent"> |
| <section> |
| <condition> |
| <if-has-permission permission="CONTENTMGR" action="_VIEW"/> |
| </condition> |
| <actions> |
| <set field="headerItem" value="Content"/> |
| <set field="titleProperty" value="PageTitleFindContent"/> |
| <set field="entityName" value="Content"/> |
| <set field="tabButtonItem" value="findContent"/> |
| <set field="queryString" from-field="result.queryString"/> |
| <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="30"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="contentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="menu-bar"> |
| <container style="button-bar"> |
| <!--<link target="EditContent" text="${uiLabelMap.CommonCreateNew}" style="buttontext create"/> |
| <link target="ContentSearchOptions" text="${uiLabelMap.CommonAdvancedSearch}" style="buttontext"/>--> |
| <include-menu name="contentMenu" location="component://content/widget/content/ContentMenus.xml"/> |
| </container> |
| </decorator-section> |
| <decorator-section name="search-options"> |
| <include-form name="FindContent" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| <decorator-section name="search-results"> |
| <include-form name="ListContent" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| <fail-widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <label style="h3">${uiLabelMap.ContentUpdatePermissionError}</label> |
| </decorator-section> |
| </decorator-screen> |
| </fail-widgets> |
| </section> |
| </screen> |
| <screen name="findContentSearchResults"> |
| <section> |
| <condition> |
| <if-has-permission permission="CONTENTMGR" action="_VIEW"/> |
| </condition> |
| <actions> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| </actions> |
| <widgets> |
| <include-form name="ListContent" location="component://content/widget/content/ContentForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="navigateContent"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleNavigateContent"/> |
| <set field="tabButtonItem" value="navigateContent"/> |
| <set field="labelTitleProperty" value="PageTitleNavigateContent"/> |
| <entity-and entity-name="ContentAssoc" list="contentAssoc"> |
| <field-map field-name="contentId" value="TREE_ROOT"/> |
| <field-map field-name="contentAssocTypeId" value="TREE_CHILD"/> |
| </entity-and> |
| </actions> |
| <widgets> |
| <decorator-screen name="contentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <container style="left"> |
| <screenlet title="${uiLabelMap.PageTitleNavigateContent}" > |
| <container id="EditDocumentTree"/> |
| <include-screen name="navigateMenu"/> |
| </screenlet> |
| </container> |
| <container style="leftonly"> |
| <screenlet title="${uiLabelMap.ContentContent}"> |
| <container id="Document"> |
| <include-screen name="ListDocument"/> |
| </container> |
| </screenlet> |
| </container> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="navigateMenu"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html> |
| <html-template location="component://content/template/content/ContentNav.ftl"/> |
| </html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditDocument"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| </actions> |
| <widgets> |
| <container> |
| <include-form name="AddDocument" location="component://content/widget/content/ContentForms.xml"/> |
| </container> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ListDocument"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="tabButtonItem" value="ListDocument"/> |
| <set field="contentIdTo" from-field="parameters.contentIdTo"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <set field="viewSize" value="${parameters.VIEW_SIZE}" default-value="30" type="Integer"/> |
| <set field="viewIndex" value="${parameters.VIEW_INDEX}" default-value="0" type="Integer"/> |
| <!-- <entity-condition entity-name="ContentAssocViewTo" list="contentAssoc"> |
| <condition-expr field-name="contentIdStart" operator="equals" from-field="contentId"/> |
| </entity-condition>--> |
| <script location="component://content/groovyScripts/content/GetContentLookupList.groovy"/> |
| </actions> |
| <widgets> |
| <!-- <include-form name="ListDocument" location="component://content/widget/content/ContentForms.xml"/>--> |
| <platform-specific> |
| <html> |
| <html-template location="component://content/template/lookup/ContentTreeLookupList.ftl"/> |
| </html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ShowContent"> |
| <section> |
| <actions> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonExtUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="contentId" from-field="parameters.contentId" default-value="${contentId}"/> |
| <set field="visualThemeId" from-field="userPreferences.VISUAL_THEME" global="true"/> |
| <service service-name="getVisualThemeResources"> |
| <field-map field-name="visualThemeId"/> |
| <field-map field-name="themeResources" from-field="layoutSettings"/> |
| </service> |
| <set field="layoutSettings" from-field="themeResources" default-value="${layoutSettings}" global="true"/> |
| </actions> |
| <widgets> |
| <content content-id="${contentId}"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ShowContentPortlet"> |
| <section> |
| <widgets> |
| <content content-id="${contentId}"/> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditDocumentTree"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <html> |
| <html-template location="component://content/template/content/EditContentTree.ftl"/> |
| </html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditContent"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditContent"/> |
| <set field="tabButtonItem" value="content"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="currentValue"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleEditContent}"> |
| <include-form name="EditContent" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditContentAssoc"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditContentAssoc"/> |
| <set field="currentContentMenuItemName" value="contentassoc" to-scope="user"/> |
| <set field="extraFunctionName" value="'${uiLabelMap.CommonFrom}'"/> |
| <set field="tabButtonItem" value="association"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <set field="contentIdTo" from-field="parameters.contentIdTo"/> |
| <set field="contentAssocTypeId" from-field="parameters.contentAssocTypeId" default-value="${defaultContentAssocTypeId}"/> |
| <set field="fromDate" from-field="parameters.fromDate"/> |
| <entity-one entity-name="Content" value-field="currentValue"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleEditContentAssoc}"> |
| <include-form name="ListContentAssocFrom" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <screenlet title="${uiLabelMap.PageTitleListAssociations} '${uiLabelMap.CommonTo}'"> |
| <include-form name="ListContentAssocTo" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <section> |
| <condition> |
| <and> |
| <not><if-empty field="contentId"/></not> |
| <not><if-empty field="contentIdTo"/></not> |
| <not><if-empty field="contentAssocTypeId"/></not> |
| <not><if-empty field="fromDate"/></not> |
| </and> |
| </condition> |
| <widgets> |
| <screenlet title="${uiLabelMap.PageTitleEditAssociation}'"> |
| <include-form name="EditContentAssoc" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <or> |
| <if-empty field="contentId"/> |
| <if-empty field="contentIdTo"/> |
| <if-empty field="contentAssocTypeId"/> |
| <if-empty field="fromDate"/> |
| </or> |
| </condition> |
| <widgets> |
| <screenlet title="${uiLabelMap.PageTitleAddAssociation}'"> |
| <include-form name="AddContentAssoc" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContentRole"> |
| <section> |
| <actions> |
| <script location="component://content/groovyScripts/cms/GetMenuContext.groovy"/> |
| <set field="titleProperty" value="PageTitleEditContentRole"/> |
| <set field="tabButtonItem" value="role"/> |
| |
| <set field="contentId" from-field="parameters.contentId"/> |
| <set field="contentRoleTarget" value=""/> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddContentRolePanel" title="${uiLabelMap.PageTitleAddRole}" collapsible="true"> |
| <include-form name="AddContentRole" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <include-form name="ListContentRole" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContentPurpose"> |
| <section> |
| <actions> |
| <script location="component://content/groovyScripts/cms/GetMenuContext.groovy"/> |
| <set field="titleProperty" value="PageTitleEditContentPurpose"/> |
| <set field="tabButtonItem" value="purpose"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddContentPurposePanel" title="${uiLabelMap.PageTitleAddPurpose}" collapsible="true"> |
| <include-form name="AddContentPurpose" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <include-form name="ListContentPurpose" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContentAttribute"> |
| <section> |
| <actions> |
| <script location="component://content/groovyScripts/cms/GetMenuContext.groovy"/> |
| <set field="titleProperty" value="PageTitleEditContentAttribute"/> |
| <set field="tabButtonItem" value="attribute"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddContentAttributePanel" title="${uiLabelMap.PageTitleAddAttribute}" collapsible="true"> |
| <include-form name="AddContentAttribute" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <include-form name="ListContentAttribute" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ListWebSite"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindWebSite"/> |
| <set field="labelTitleProperty" value="PageTitleFindWebSite"/> |
| <set field="tabButtonItem" value="websites"/> |
| <entity-condition entity-name="WebSiteAndContent" list="webSites"> |
| <condition-expr field-name="contentId" from-field="parameters.contentId"/> |
| <order-by field-name="webSiteId"/> |
| </entity-condition> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-has-permission permission="CONTENTMGR" action="_VIEW"/> |
| </condition> |
| <widgets> |
| <screenlet title="${uiLabelMap.PageTitleListWebSite}"> |
| <include-form name="ListWebSites" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.ContentViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContentMetaData"> |
| <section> |
| <actions> |
| <script location="component://content/groovyScripts/cms/GetMenuContext.groovy"/> |
| <set field="titleProperty" value="PageTitleEditContentMetadata"/> |
| <set field="tabButtonItem" value="metaData"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddContentMetaDataPanel" title="${uiLabelMap.PageTitleAddMetaData}" collapsible="true"> |
| <include-form name="AddContentMetaData" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <include-form name="ListContentMetaData" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContentWorkEfforts"> |
| <section> |
| <actions> |
| <script location="component://content/groovyScripts/cms/GetMenuContext.groovy"/> |
| <set field="titleProperty" value="PageTitleEditContentWorkEffort"/> |
| <set field="tabButtonItem" value="workEffort"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddWorkEffortContentPanel" title="${uiLabelMap.PageTitleAddWorkEffort}" collapsible="true"> |
| <include-form name="AddWorkEffortContent" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <include-form name="ListWorkEffortContents" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="LookupContent"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="title" value="${uiLabelMap.PageTitleLookupContent}"/> |
| <set field="entityName" value="Content"/> |
| <set field="searchFields" value="[contentId, contentName]"/> |
| <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="20"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="search-options"> |
| <include-form name="LookupContent" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| <decorator-section name="search-results"> |
| <include-form name="ListLookupContent" location="component://content/widget/content/ContentForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ListContentTree"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="tabButtonItem" value="ListContentTree"/> |
| <set field="contentIdTo" from-field="parameters.contentIdTo"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <set field="viewSize" value="${parameters.VIEW_SIZE}" default-value="30" type="Integer"/> |
| <set field="viewIndex" value="${parameters.VIEW_INDEX}" default-value="0" type="Integer"/> |
| <script location="component://content/groovyScripts/content/GetContentLookupList.groovy"/> |
| </actions> |
| <widgets> |
| <container id="Document"> |
| <platform-specific> |
| <html> |
| <html-template location="component://content/template/lookup/ContentTreeLookupList.ftl"/> |
| </html> |
| </platform-specific> |
| </container> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="LookupContentTree"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="title" value="${uiLabelMap.PageTitleLookupContent}"/> |
| <set field="tabButtonItem" value="LookupContentTree"/> |
| <set field="labelTitleProperty" value="PageTitleNavigateContent"/> |
| <entity-and entity-name="ContentAssoc" list="contentAssoc"> |
| <field-map field-name="contentId" value="TREE_ROOT"/> |
| <field-map field-name="contentAssocTypeId" value="TREE_CHILD"/> |
| </entity-and> |
| </actions> |
| <widgets> |
| <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <screenlet title="${uiLabelMap.PageTitleLookupContent}"> |
| <container style="left-border"> |
| <platform-specific> |
| <html> |
| <html-template location="component://content/template/content/ContentNav.ftl"/> |
| </html> |
| </platform-specific> |
| </container> |
| <container style="leftonly"> |
| <include-screen name="ListContentTree"/> |
| </container> |
| </screenlet> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="LookupDetailContentTree"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="title" value="${uiLabelMap.PageTitleLookupContent}"/> |
| <set field="tabButtonItem" value="LookupDetailContentTree"/> |
| <set field="labelTitleProperty" value="PageTitleNavigateContent"/> |
| <entity-and entity-name="ContentAssoc" list="contentAssoc"> |
| <field-map field-name="contentId" value="TREE_ROOT"/> |
| <field-map field-name="contentAssocTypeId" value="TREE_CHILD"/> |
| </entity-and> |
| </actions> |
| <widgets> |
| <section> |
| <widgets> |
| <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleLookupContent}"> |
| <container style="left-border"> |
| <platform-specific> |
| <html> |
| <html-template location="component://content/template/content/ContentNav.ftl"/> |
| </html> |
| </platform-specific> |
| </container> |
| <container style="leftonly"> |
| <container style="contentarea"> |
| <include-screen name="ViewContentDetail"/> |
| </container> |
| </container> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ViewContentDetail"> |
| <section> |
| <actions> |
| <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="contentIdTo" from-field="parameters.contentIdTo"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="lookupContentDetail"> |
| <field-map field-name="contentId" from-field="contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <if-empty field="lookupContentDetail"/> |
| </condition> |
| <widgets> |
| <container id="Document"> |
| <label style="" text="${uiLabelMap.PageTitlePleaseSelectData}"></label> |
| </container> |
| </widgets> |
| <fail-widgets> |
| <container id="Document"> |
| <include-form name="ViewContentDetail" location="component://content/widget/content/ContentForms.xml"/> |
| </container> |
| </fail-widgets> |
| </section> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ContentSearchOptions"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleSearchResults"/> |
| <script location="component://content/groovyScripts/content/ContentSearchOptions.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="contentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://content/template/content/ContentSearchOptions.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ContentSearchResults"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleSearchResults"/> |
| <script location="component://content/groovyScripts/content/ContentSearchResults.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="contentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://content/template/content/ContentSearchResults.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContentKeywords"> |
| <section> |
| <actions> |
| <script location="component://content/groovyScripts/cms/GetMenuContext.groovy"/> |
| <set field="titleProperty" value="PageTitleEditContentKeywords"/> |
| <set field="tabButtonItem" value="keywords"/> |
| <set field="contentId" from-field="parameters.contentId"/> |
| <entity-one entity-name="Content" value-field="currentValue"> |
| <field-map field-name="contentId" from-field="parameters.contentId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonContentDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddContentKeywordsPanel" title="${uiLabelMap.PageTitleAddContentKeyword}" collapsible="true"> |
| <include-form name="AddContentKeyword" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| <screenlet title="${uiLabelMap.PageTitleEditContentKeywords}"> |
| <include-form name="ListContentKeywords" location="component://content/widget/content/ContentForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |