Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe

Commits:

2 changed files:

Changes:

  • client-core/src/main/java/fr/ird/observe/client/ui/content/ref/common/SpeciesUI.jaxx
    ... ... @@ -97,7 +97,7 @@
    97 97
                       <JPanel layout='{new GridLayout()}'>
    
    98 98
                         <JTextField id='homeId'/>
    
    99 99
                         <JTextField id='faoCode'/>
    
    100
    -                    <JTextField id='wormsId' onKeyReleased='getBean().setWormsId(Long.valueOf(wormsId.getText()))'/>
    
    100
    +                    <NumberEditor id='wormsId' constructorParams='this' styleClass="long10"/>
    
    101 101
                       </JPanel>
    
    102 102
                     </cell>
    
    103 103
                   </row>
    

  • client-core/src/main/java/fr/ird/observe/client/ui/content/ref/common/SpeciesUI.jcss
    ... ... @@ -43,7 +43,8 @@
    43 43
     }
    
    44 44
     
    
    45 45
     #wormsId {
    
    46
    -  text:{getStringValue(bean.getWormsId())};
    
    46
    +  property:{SpeciesDto.PROPERTY_WORMS_ID};
    
    47
    +  numberValue:{bean.getWormsId()};
    
    47 48
     }
    
    48 49
     
    
    49 50
     #scientificLabel {