ここに私のzul:
<intbox id="displayOrder"
value="@bind(vm.folderProcessRecord.displayOrder)"
maxlength="6"
constraint=" @load(vm.getText('FolderProcess:MESSAGE_NO_NEGATIVE'))"
tooltiptext="@load(vm.getText('FolderProcess:FIELD_DISPLAY_ORDER'))" />
英語とフランス語のプロパティファイル。
MESSAGE_NO_NEGATIVE=no negative: Value cannot be negative.
また
MESSAGE_NO_NEGATIVE=pas négatif: valeur ne peut pas être négatif.
私の問題は、英語を選択した場合にのみ制約が機能することです。しかし、フランス語を選択すると、制約が読み取られず、エラーが発生します。
エラー:
Error writing 'constraint' on type com.Abcdsystems.Abcd.comp.AbcdIntbox at [file:/C:/Abcd_N_WORKSPACE/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/module-web/core/folder_process_edit.zul, line:416]
この問題を解決する方法を教えてください。
ありがとう