This is an automated email from the ASF dual-hosted git repository.

derjan 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 d95b26d  EMPIREDB-325
d95b26d is described below

commit d95b26d3d19d12044c9ebdcdecd3f4ca0aaac4b6
Author: Jan Glaubitz <[email protected]>
AuthorDate: Fri Jan 31 09:13:34 2020 +0100

    EMPIREDB-325
---
 .../src/main/java/org/apache/empire/jsf2/controls/TextInputControl.java | 2 ++
 1 file changed, 2 insertions(+)

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 2491ec8..4556028 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
@@ -121,6 +121,8 @@ public class TextInputControl extends InputControl
             throw new 
UnexpectedReturnValueException(comp.getClass().getName(), "compList.get(0)");
         }
         HtmlInputText input = (HtmlInputText) comp;
+               // required
+               addRemoveStyle(input, " " + InputControl.STYLECLASS_REQUIRED, 
ii.isRequired());
         // disabled
         Object dis = ii.getAttributeEx("disabled");
         if (dis != null)

Reply via email to