You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2021/05/31 15:39:25 UTC
[empire-db] branch master updated: EMPIREDB-356 Bugfix:
SelectInputControl update option label
This is an automated email from the ASF dual-hosted git repository.
doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git
The following commit(s) were added to refs/heads/master by this push:
new 763e572 EMPIREDB-356 Bugfix: SelectInputControl update option label
763e572 is described below
commit 763e572fc31966ad96fdb8e09182077380c066ba
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Mon May 31 17:39:21 2021 +0200
EMPIREDB-356
Bugfix: SelectInputControl update option label
---
.../main/java/org/apache/empire/jsf2/controls/SelectInputControl.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java
index 08a63ed..fc4dc33 100644
--- a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java
+++ b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java
@@ -267,6 +267,7 @@ public class SelectInputControl extends InputControl
}
if (ObjectUtils.compareEqual(ov, oe.getValue()))
{ // next
+ si.setItemLabel(oe.getText());
oe = (ioe.hasNext() ? ioe.next() : null);
continue;
}