Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions screen/ExampleApp.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand Down Expand Up @@ -123,7 +123,7 @@ along with this software (see the LICENSE.md file). If not, see
<default-response type="none"/>
</transition>

<subscreens default-item="Example">
<subscreens default-item="dashboard">
<!-- these are actually links to content to add to the menu since content is not automatically added to the menu -->
<subscreens-item name="ExamplePolicies" menu-index="4" menu-title="Policies"/>
<subscreens-item name="ExampleTerms" menu-index="5" menu-title="Terms"/>
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Example.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -22,6 +22,6 @@ along with this software (see the LICENSE.md file). If not, see
<subscreens default-item="FindExample"/>

<widgets>
<subscreens-panel id="example-panel" type="tab"/>
<subscreens-panel id="example-panel" type="popup"/>
</widgets>
</screen>
6 changes: 3 additions & 3 deletions screen/ExampleApp/Example/DynamicExampleItems.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -13,8 +13,8 @@ along with this software (see the LICENSE.md file). If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-title="Dynamic Items" default-menu-index="9" render-modes="js,vuet" server-static="js,vuet">
default-menu-include="false" default-menu-title="Dynamic Items" default-menu-index="9" render-modes="js,vuet" server-static="js,vuet">

<parameter name="exampleId"/>

<transition name="getExampleItemList" read-only="true">
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Example/DynamicExampleItemsVue.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -14,7 +14,7 @@ along with this software (see the LICENSE.md file). If not, see
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-title="Dynamic Items Vue" default-menu-index="10" render-modes="vue,qvue" server-static="vue,qvue">

<parameter name="exampleId"/>

<transition-include name="getExampleItemList" location="component://example/screen/ExampleApp/Example/DynamicExampleItems.xml"/>
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Example/EditExampleContent.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -15,7 +15,7 @@ along with this software (see the LICENSE.md file). If not, see
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-title="Content" default-menu-index="4">

<parameter name="exampleId" required="true"/>

<transition name="createExampleContent"><service-call name="create#moqui.example.ExampleContent"/>
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Example/EditExampleFeatureAppls.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -15,7 +15,7 @@ along with this software (see the LICENSE.md file). If not, see
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-title="Features" default-menu-index="3">

<parameter name="exampleId" required="true"/>

<transition name="editExampleFeature"><default-response url="../../Feature/EditExampleFeature"/></transition>
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Example/EditExampleItemList.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -15,7 +15,7 @@ along with this software (see the LICENSE.md file). If not, see
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-include="false" standalone="true">

<parameter name="exampleId"/>

<transition name="updateExampleItem"><service-call name="update#moqui.example.ExampleItem"/>
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Example/EditExampleItems.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -15,7 +15,7 @@ along with this software (see the LICENSE.md file). If not, see
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-title="Items" default-menu-index="2">

<parameter name="exampleId" required="true"/>

<transition name="createExampleItem">
Expand Down
6 changes: 3 additions & 3 deletions screen/ExampleApp/Example/FindExample.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -13,7 +13,7 @@ along with this software (see the LICENSE.md file). If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-include="false">
default-menu-title="Find Example">

<transition name="findExample"><default-response url="."/></transition>
<transition name="editExample"><default-response url="../EditExample"/></transition>
Expand All @@ -37,7 +37,7 @@ along with this software (see the LICENSE.md file). If not, see
<set field="html_description" value="A page for finding Examples"/>
<set field="html_keywords" value="moqui,find,example,status,edit,new"/>
</pre-actions>

<actions>
<entity-find entity-name="moqui.example.Example" list="exampleList">
<search-form-inputs default-order-by="^exampleName"/></entity-find>
Expand Down
6 changes: 3 additions & 3 deletions screen/ExampleApp/Feature/EditExampleFeatureExampleAppls.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -14,8 +14,8 @@ along with this software (see the LICENSE.md file). If not, see
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-title="Examples" default-menu-index="2">
default-menu-include="false" default-menu-title="Examples" default-menu-index="2">

<parameter name="exampleFeatureId" required="true"/>

<transition name="editExample"><default-response url="../../Example/EditExample"/></transition>
Expand Down
4 changes: 2 additions & 2 deletions screen/ExampleApp/Feature/FindExampleFeature.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
Expand All @@ -14,7 +14,7 @@ along with this software (see the LICENSE.md file). If not, see
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
default-menu-include="false">
default-menu-include="true">

<transition name="newExampleFeature"><default-response url="../EditExampleFeature"/></transition>
<transition name="findExampleFeature"><default-response url="."/></transition>
Expand Down
35 changes: 35 additions & 0 deletions screen/ExampleApp/dashboard.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This software is in the public domain under CC0 1.0 Universal plus a
Grant of Patent License.

To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warranty.

You should have received a copy of the CC0 Public Domain Dedication
along with this software (see the LICENSE.md file). If not, see
<http://creativecommons.org/publicdomain/zero/1.0/>.
-->
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/xml-screen-2.1.xsd"
menu-image="fa fa-dashboard" menu-image-type="icon" >

<widgets>
<container-row><row-col>
<link url="/site" text="Example Site" url-type="plain"/>
</row-col></container-row>
<container-row><row-col lg="6" md="6">
<container-box>
<box-header title="Example App Sections"/>
<box-body>
<link url="../Example" text="Example"/>
<link url="../Survey" text="Survey"/>
<link url="../Feature" text="Feature"/>
</box-body>
</container-box>
</row-col></container-row>

<!-- <link url="reloadEcfi" text="Reload Framework" link-type="anchor" confirmation="Are you sure? This is for development and emergency use only."/> -->
</widgets>
</screen>