Стоит задача сделать action
показать Эффективную роль
которая была в cuba (Планируется ли в будущем ее реализация в jmix?)
Создал экран с загрузчиком ролей
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://jmix.io/schema/ui/window"
caption="msg://effectiveRoleScreen.caption"
xmlns:c="http://jmix.io/schema/ui/jpql-condition">
<data readOnly="true">
<collection id="resourcePolicyDc"
class="io.jmix.securitydata.entity.ResourcePolicyEntity">
<loader id="resourcePolicyDl">
<query>
<![CDATA[select e from sec_ResourcePolicyEntity e]]>
<condition>
<and>
<c:jpql>
<c:join>join sec_RoleAssignmentEntity rae where rae.roleCode = e.role.code</c:join>
<c:where>rae.username = :username and rae.roleType = 'resource'</c:where>
</c:jpql>
</and>
</condition>
</query>
</loader>
</collection>
<collection id="rowLevelPolicyDc"
class="io.jmix.securitydata.entity.RowLevelPolicyEntity">
<loader id="rowLevelPolicyDl">
<query>
<![CDATA[select e from sec_RowLevelPolicyEntity e]]>
<condition>
<and>
<c:jpql>
<c:join>join sec_RoleAssignmentEntity rae where rae.roleCode = e.role.code</c:join>
<c:where>rae.username = :username and rae.roleType = 'row_level'</c:where>
</c:jpql>
</and>
</condition>
</query>
</loader>
</collection>
</data>
<dialogMode height="768" width="1024" modal="true" forceDialog="true" resizable="true"/>
<layout expand="tabSheet">
<tabSheet id="tabSheet" height="100%" width="100%">
<tab id="resourcePolicyTab" caption="msg://resourcePolicyTab" expand="resourcePolicyTable"
margin="true" spacing="true">
<filter id="resourcePolicyFilter" dataLoader="resourcePolicyDl">
<properties include=".*"/>
</filter>
<groupTable id="resourcePolicyTable"
width="100%" height="100%"
dataContainer="resourcePolicyDc">
<columns>
<group>
<column id="policyGroup" caption="msg://ResourcePolicyEntity.policyGroup"/>
</group>
<column id="type" caption="msg://ResourcePolicyEntity.type"/>
<column id="resource" caption="msg://ResourcePolicyEntity.resource"/>
<column id="action" caption="msg://ResourcePolicyEntity.action"/>
</columns>
</groupTable>
</tab>
<tab id="rowLevelPolicyTab" caption="msg://rowLevelPolicyTab" expand="rowLevelPolicyTable"
margin="true" spacing="true">
<filter id="rowLevelPolicyFilter" dataLoader="rowLevelPolicyDl">
<properties include=".*"/>
</filter>
<groupTable id="rowLevelPolicyTable"
width="100%" height="100%"
dataContainer="rowLevelPolicyDc">
<columns>
<column id="type" caption="msg://RowLevelPolicyEntity.type"/>
<column id="action" caption="msg://RowLevelPolicyEntity.action"/>
<column id="entityName" caption="msg://RowLevelPolicyEntity.entityName"/>
<column id="whereClause" caption="msg://RowLevelPolicyEntity.whereClause"/>
<column id="joinClause" caption="msg://RowLevelPolicyEntity.joinClause"/>
</columns>
</groupTable>
</tab>
</tabSheet>
</layout>
</window>
Для колонок таблиц не проставляется локализация (Здесь я прописал свои)
И для фильтров нет локализации.
Не подскажите как это исправить?