git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739656 13f79535-47bb-0310-9956-ffa450edef68
107 lines
5.6 KiB
XML
107 lines
5.6 KiB
XML
<?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="FindAccounts">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="MarketingFindAccounts"/>
|
|
<set field="roleTypeId" value="ACCOUNT"/>
|
|
<set field="headerItem" value="Accounts"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<actions>
|
|
<service service-name="findParty" auto-field-map="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<include-menu name="AccountSubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/>
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://marketing/webapp/sfa/party/findSfaParty.ftl"/></html>
|
|
</platform-specific>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.SfaFindResults}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<condition>
|
|
<not>
|
|
<if-empty field="partyList"/>
|
|
</not>
|
|
</condition>
|
|
<widgets>
|
|
<include-form name="ListAccounts" location="component://marketing/widget/sfa/forms/AccountForms.xml"/>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyNoPartiesFound}"/>
|
|
</container>
|
|
</fail-widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="NewAccounts">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="Accounts"/>
|
|
<set field="titleProperty" value="PageTitleCreateAccount"/>
|
|
<set field="accountType" from-field="parameters.accountType"/>
|
|
<property-to-field field="defaultCountryGeoId" resource="general" property="country.geo.id.default" default="USA"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleCreateAccount}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="NewAccount" location="component://marketing/widget/sfa/forms/AccountForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |