| <?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" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| |
| <screen name="ListRepositoryData"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitListNodes" /> |
| <entity-condition list="repositoryContent" entity-name="Content"> |
| <condition-expr field-name="contentTypeId" operator="equals" value="REPOSITORY"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="ListRepositoryData" /> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitShowContentData"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitShowContentData" /> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <platform-specific> |
| <html><html-template location="component://example/webapp/example/jackrabbit/ContentChooser.ftl"/></html> |
| </platform-specific> |
| </container> |
| <container> |
| <label>${uiLabelMap.ExampleJackrabbitQueryForContent}</label> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="QueryRepositoryDataForm" /> |
| </container> |
| <container> |
| <label>${uiLabelMap.ExampleJackrabbitTryRightClick}</label> |
| <platform-specific> |
| <html><html-template location="component://example/webapp/example/jackrabbit/JackrabbitDataTree.ftl"/></html> |
| </platform-specific> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitAddData"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitAddData" /> |
| <script location="component://example/webapp/example/WEB-INF/actions/includes/PrepareLocalesForDropDown.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="AddRepositoryData" /> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitUploadFileData"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitUploadFileData" /> |
| <script location="component://example/webapp/example/WEB-INF/actions/includes/PrepareLocalesForDropDown.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="UploadRepositoryFileData" /> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitScanRepositoryStructure"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitScanRepositoryStrukture" /> |
| <set field="listIt" from-field="parameters.listIt"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="ScanRepositoryStructure" /> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitEditRepositoryContent"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitMainPage" /> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="EditRepositoryDataChangeLanguage" /> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="EditRepositoryData" /> |
| <link target="RemoveRepositoryNode" text="remove" style="buttontext"> |
| <parameter param-name="repositoryNode" from-field="content.repositoryNode" /> |
| <parameter param-name="contentId" from-field="content.contentId"/> |
| </link> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitShowUploadedFiles"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitShowUploadedFiles" /> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <label>${uiLabelMap.ExampleJackrabbitTryRightClick}</label> |
| <platform-specific> |
| <html><html-template location="component://example/webapp/example/jackrabbit/JackrabbitFileTree.ftl"/></html> |
| </platform-specific> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitShowFileInformation"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitShowUploadedFiles" /> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="ExampleJackrabbitShowFileInformation" /> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ExampleJackrabbitShowQueryResult"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleExampleJackrabbit" /> |
| <set field="tabButtonItem" value="ExampleJackrabbitShowContentData" /> |
| <set field="queryResult" from-field="parameters.queryResult"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonExampleJackrabbitDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <include-form location="component://example/widget/example/ExampleJackrabbitForms.xml" name="ExampleJackrabbitShowQueryResults" /> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| </screens> |