-
Notifications
You must be signed in to change notification settings - Fork 3
/
currency-screen.xml
31 lines (31 loc) · 1.26 KB
/
currency-screen.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
caption="msg://caption"
class="com.company.customdatasource.web.screens.CurrencyScreen"
messagesPack="com.company.customdatasource.web.screens">
<dsContext>
<collectionDatasource id="currencyRatesDs"
allowCommit="false"
class="com.company.customdatasource.entity.CurrencyRate"
datasourceClass="com.company.customdatasource.web.screens.customdatasources.CurrencyRateDatasource"/>
</dsContext>
<layout expand="currencyRatesTable"
spacing="true">
<hbox align="MIDDLE_LEFT"
spacing="true">
<label align="MIDDLE_LEFT"
value="Currency From"/>
<lookupField id="currencyLookup"
align="MIDDLE_LEFT"
width="250px"/>
</hbox>
<table id="currencyRatesTable"
width="100%">
<columns>
<column id="currencyTo"/>
<column id="conversionRate"/>
</columns>
<rows datasource="currencyRatesDs"/>
</table>
</layout>
</window>