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 30d59702 EMPIREDB-461 TextInputControl: fix renderValue
30d59702 is described below

commit 30d597026c88a02ff070d77349c84c3090a12c99
Author: Rainer Döbele <[email protected]>
AuthorDate: Fri Apr 11 14:56:08 2025 +0200

    EMPIREDB-461
    TextInputControl: fix renderValue
---
 .../main/java/org/apache/empire/jsf2/controls/TextInputControl.java | 6 ------
 1 file changed, 6 deletions(-)

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 579f5d03..e61abef4 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
@@ -479,12 +479,6 @@ public class TextInputControl extends InputControl
     public void renderValue(Object value, ValueInfo vi, ResponseWriter writer)
         throws IOException
     {
-        String text = formatValue(value, vi);
-        if (StringUtils.isEmpty(text))
-        {   // nothing
-            writer.append(HTML_EXPR_NBSP);
-            return;
-        }
         // append text
         super.renderValue(value, vi, writer);
         // unit?

Reply via email to