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 2018/12/06 16:54:14 UTC

[myfaces-tobago] 01/04: TOBAGO-1964: "placeholder" attribute for

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 97598ea3d8b506bd0196331e2e6192b5ec77e7ed
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Dec 5 18:08:26 2018 +0100

    TOBAGO-1964: "placeholder" attribute for <tc:file>
    
    * example
---
 .../src/main/webapp/content/20-component/100-upload/File_Upload.xhtml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/100-upload/File_Upload.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/100-upload/File_Upload.xhtml
index 813d4a5..8755bd9 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/100-upload/File_Upload.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/100-upload/File_Upload.xhtml
@@ -42,7 +42,7 @@
 
   <tc:section id="s1" label="Basics">
     <pre><code class="language-markup">&lt;tc:file label="Upload" value="\#{uploadController.file1}"/></code></pre>
-    <tc:file label="Upload" value="#{uploadController.fileBasic}"/>
+    <tc:file placeholder="select a file" label="Upload" value="#{uploadController.fileBasic}"/>
     <tc:file label="Read Only" readonly="true" value="#{uploadController.fileBasic}"/>
     <tc:file label="Disabled" disabled="true" value="#{uploadController.fileBasic}"/>
     <tc:button label="Submit" action="#{uploadController.uploadBasic}"/>