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/02/21 18:53:21 UTC

[myfaces-tobago] 04/04: Better sorter

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 <lo...@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.