myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] 04/04: Better sorter
Date Wed, 21 Feb 2018 18:53:21 GMT
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 da3ef853b98999e741a71a80a885766e2da8a713
Author: Udo Schnurpfeil <lofwyr@apache.org>
AuthorDate: Wed Feb 21 19:54:09 2018 +0100

    Better sorter
    
    TOBAGO-1859: Better feedback, if sorting isn't possible
---
 .../webapp/content/20-component/080-sheet/10-sort/sheet-sorting.xhtml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.xhtml
index 84d6a8a..89ded18 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.xhtml
@@ -26,6 +26,10 @@
     <code class="language-markup">&lt;tc:column/></code>.
     A custom sorting implementation can be set in the <code>sortActionListener</code>
attribute in the
     <code class="language-markup">&lt;tc:sheet/></code>.</p>
+  <p>It's important to have a component inside the <code class="language-markup">&lt;tc:column/></code>,
+    e. g. <code class="language-markup">&lt;tc:out value="\#{object.name}"/></code>.
+  If there is only a fragment like <code class="language-markup">\#{object.name}</code>,
+    sorting will not be possible!</p>
   <p>Tag Library Documentation:
     <tc:link label="&lt;tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
              link="#{demoBundle.tagDocUrl}/#{info.stableVersion}/tld/tc/sheet.html"/>

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

Mime
View raw message