myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: improve demo
Date Fri, 06 Apr 2018 12:12:47 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 6994495  improve demo
6994495 is described below

commit 6994495b1a2181e86da9893f0abcbe72c2f0eaf0
Author: Henning Noeth <hnoeth@apache.org>
AuthorDate: Fri Apr 6 14:11:08 2018 +0200

    improve demo
    
    * small fix for suggest demo page
---
 .../20-component/010-input/20-suggest/suggest.xhtml        | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.xhtml
index 6b208bd..d1e9b46 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.xhtml
@@ -42,10 +42,10 @@
     <p>The suggestion list is calculated in the controller. User the <code>query</code>
attribute to pass
       the query string to the controller.</p>
     <pre><code class="language-markup">&lt;tc:in id="inBasic">
-      &lt;tc:suggest totalCount="10" query="\#{suggestController.query}">
-        &lt;tc:selectItems value="\#{suggestController.solarObjects}" var="name" itemValue="\#{name}"/>
-      &lt;/tc:suggest>
-    &lt;/tc:in></code></pre>
+  &lt;tc:suggest totalCount="10" query="\#{suggestController.query}">
+    &lt;tc:selectItems value="\#{suggestController.solarObjects}" var="name" itemValue="\#{name}"/>
+  &lt;/tc:suggest>
+&lt;/tc:in></code></pre>
     <tc:in id="inBasic">
       <tc:suggest totalCount="10" query="#{suggestController.query}">
         <tc:selectItems value="#{suggestController.solarObjects}" var="name" itemValue="#{name}"/>
@@ -61,7 +61,7 @@
       because of the <code>minimumCharacters</code> attribute which has the value
'2'.
       And by setting the <code>delay</code> to '2000', the user have to wait
two seconds,
       before the suggestion list is shown.</p>
-    <pre><code class="language-markup">&lt;tc:suggest query="\#{suggestController.query}
+    <pre><code class="language-markup">&lt;tc:suggest query="\#{suggestController.query}"
             maximumItems="2" minimumCharacters="2" delay="2000">
   &lt;tc:selectItems value="\#{suggestController.solarObjects}" var="name" itemValue="\#{name}"/>
 &lt;/tc:suggest></code></pre>
@@ -75,8 +75,8 @@
 
   <tc:section label="Client side">
     <p>Filtering can also be done by the client. For that, set <code>update="false"</code>.</p>
-    <p>If client side, you can also use <code class="language-markup"><tc:selectItem/></code>
-      instead of <code class="language-markup"><tc:selectItems/></code>.</p>
+    <p>If client side, you can also use <code class="language-markup">&lt;tc:selectItem/></code>
+      instead of <code class="language-markup">&lt;tc:selectItems/></code>.</p>
     <pre><code class="language-markup">&lt;tc:suggest update="false"/></code></pre>
     <tc:in id="inClient" label="Solar Objects">
       <tc:suggest update="false">

-- 
To stop receiving notification emails like this one, please contact
hnoeth@apache.org.

Mime
View raw message