You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2021/04/30 08:36:06 UTC

[myfaces-tobago] 03/03: feat: progress on date input

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

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit fa1ecb73476baca147f8c9ad1193d55b8242af80
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Apr 30 10:18:15 2021 +0200

    feat: progress on date input
    
    better type support
    demo
    remove picker icon, because it comes sometimes from the browser
    
    issue: TOBAGO-2071
---
 .../java/org/apache/myfaces/tobago/example/demo/DateController.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/DateController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/DateController.java
index 1fc5364..27ce57c 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/DateController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/DateController.java
@@ -94,7 +94,7 @@ public class DateController implements Serializable {
   public void timeZoneValidator(
       final FacesContext facesContext, final UIComponent uiComponent, final Object string) throws ValidatorException {
     try {
-      ZoneId.of((String)string);
+      ZoneId.of((String) string);
     } catch (Exception e) {
       throw new ValidatorException(new FacesMessage("Invalid Time Zone Identifier!"), e);
     }