Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Refactor XML elements of Formatters #452

Closed
GlebDurygin opened this issue May 4, 2021 · 0 comments
Closed

Refactor XML elements of Formatters #452

GlebDurygin opened this issue May 4, 2021 · 0 comments
Assignees
Milestone

Comments

@GlebDurygin
Copy link
Contributor

Description

  1. Predefined formatters should be placed in a special element (<formatter/>);
  2. The ...Formatter postfix should be removed for XML elements;

Expected behavior

<label id="numberLabel">
    <formatter>
        <number format="#,###"/>
    </formatter>
</label>
<label id="dateLabel">
    <formatter>
        <date type="DATE"/>
    </formatter>
</label>
<label id="classNameLabel">
    <formatter>
        <className/>
    </formatter>
</label>
<label id="collectionLabel">
    <formatter>
        <collection/>
    </formatter>
</label>
<label id="customLabel">
    <formatter>
        <custom bean="..."/>
    </formatter>
</label>
@GlebDurygin GlebDurygin added this to the 1.0.0 milestone May 4, 2021
glebfox added a commit to jmix-projects/jmix-reports that referenced this issue May 18, 2021
glebfox added a commit to jmix-framework/jmix-ui-samples that referenced this issue May 18, 2021
glebfox added a commit to jmix-projects/jmix-email that referenced this issue May 18, 2021
glebfox added a commit to jmix-projects/jmix-audit that referenced this issue May 18, 2021
glebfox added a commit to jmix-projects/jmix-imap that referenced this issue May 18, 2021
glebfox added a commit to jmix-framework/jmix that referenced this issue May 18, 2021
glebfox added a commit to jmix-projects/jmix-cuba that referenced this issue May 18, 2021
@lovtsovaik lovtsovaik assigned MikhailSilk and unassigned lovtsovaik May 21, 2021
@MikhailSilk MikhailSilk reopened this Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants