Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe Commits: 4357232a by tchemit at 2019-07-17T15:33:36Z Impossible de modifier le champs Species.wormsId - Closes #1357 - - - - - 2 changed files: - client-core/src/main/java/fr/ird/observe/client/ui/content/ref/common/SpeciesUI.jaxx - client-core/src/main/java/fr/ird/observe/client/ui/content/ref/common/SpeciesUI.jcss Changes: ===================================== client-core/src/main/java/fr/ird/observe/client/ui/content/ref/common/SpeciesUI.jaxx ===================================== @@ -97,7 +97,7 @@ <JPanel layout='{new GridLayout()}'> <JTextField id='homeId'/> <JTextField id='faoCode'/> - <JTextField id='wormsId' onKeyReleased='getBean().setWormsId(Long.valueOf(wormsId.getText()))'/> + <NumberEditor id='wormsId' constructorParams='this' styleClass="long10"/> </JPanel> </cell> </row> ===================================== client-core/src/main/java/fr/ird/observe/client/ui/content/ref/common/SpeciesUI.jcss ===================================== @@ -43,7 +43,8 @@ } #wormsId { - text:{getStringValue(bean.getWormsId())}; + property:{SpeciesDto.PROPERTY_WORMS_ID}; + numberValue:{bean.getWormsId()}; } #scientificLabel { View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/4357232ab8f901bcebc270097482... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/4357232ab8f901bcebc270097482... You're receiving this email because of your account on gitlab.com.