myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] branch tobago-2.x updated: TOBAGO-1964: "placeholder" attribute for <tc:file>
Date Wed, 05 Dec 2018 15:48:02 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/tobago-2.x by this push:
     new 905c1a3  TOBAGO-1964: "placeholder" attribute for <tc:file>
905c1a3 is described below

commit 905c1a375b29c9958cdfdfb83c18d4c175f6ebeb
Author: Udo Schnurpfeil <lofwyr@apache.org>
AuthorDate: Wed Dec 5 15:57:56 2018 +0100

    TOBAGO-1964: "placeholder" attribute for <tc:file>
    
    (cherry picked from commit 3edd51d225a69782a734c1a6cf7522bf18ddff1c)
---
 .../org/apache/myfaces/tobago/internal/component/AbstractUIFile.java | 2 ++
 .../myfaces/tobago/internal/taglib/component/FileTagDeclaration.java | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIFile.java
b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIFile.java
index 3195452..d3e69c5 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIFile.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIFile.java
@@ -58,4 +58,6 @@ public abstract class AbstractUIFile extends UIInput implements LayoutComponent,
   public abstract boolean isMultiple();
 
   public abstract Integer getTabIndex();
+
+  public abstract String getPlaceholder();
 }
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/FileTagDeclaration.java
b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/FileTagDeclaration.java
index 0fe5539..f5b4e16 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/FileTagDeclaration.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/FileTagDeclaration.java
@@ -33,6 +33,7 @@ import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRend
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasOnchange;
+import org.apache.myfaces.tobago.internal.taglib.declaration.HasPlaceholder;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasRequiredMessage;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasTabIndex;
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasTip;
@@ -42,9 +43,9 @@ import org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListe
 import org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled;
 import org.apache.myfaces.tobago.internal.taglib.declaration.IsFocus;
 import org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponent;
+import org.apache.myfaces.tobago.internal.taglib.declaration.IsMultiple;
 import org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonly;
 import org.apache.myfaces.tobago.internal.taglib.declaration.IsRequired;
-import org.apache.myfaces.tobago.internal.taglib.declaration.IsMultiple;
 
 import javax.faces.component.UIInput;
 
@@ -73,7 +74,7 @@ import javax.faces.component.UIInput;
 public interface FileTagDeclaration
     extends HasValidator, HasValidatorMessage, HasRequiredMessage, HasConverterMessage, HasOnchange,
     HasValueChangeListener, HasIdBindingAndRendered, IsDisabled, HasMarkup, HasCurrentMarkup,
IsFocus, IsMultiple,
-    HasLabel, HasTip, IsReadonly, IsRequired, HasTabIndex, IsGridLayoutComponent {
+    HasLabel, HasTip, IsReadonly, IsRequired, HasTabIndex, IsGridLayoutComponent, HasPlaceholder
{
 
   /**
    * Value binding expression pointing to a


Mime
View raw message