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 2020/12/03 16:18:55 UTC

[empire-db] branch master updated: EMPIREDB-335 add missing format option "nolookup"

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 31b1ca6  EMPIREDB-335 add missing format option "nolookup"
31b1ca6 is described below

commit 31b1ca6c7a8372bbf9c9a265fca7d4881cf46420
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Thu Dec 3 17:18:50 2020 +0100

    EMPIREDB-335
    add missing format option "nolookup"
---
 .../src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java
index da7593b..ad71344 100644
--- a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java
+++ b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java
@@ -240,7 +240,7 @@ public class TextInputControl extends InputControl
     {
         // Lookup and Print value
         Options options = vi.getOptions();
-        if (options != null && !options.isEmpty())
+        if (options != null && !options.isEmpty() && !hasFormatOption(vi, "nolookup"))
         { // Check for Options
             String text = options.get(value);
             if (StringUtils.isNotEmpty(text))