sortby not working for datatable

UI Components for JSF
Post Reply
grizli
Posts: 82
Joined: 11 Nov 2009, 16:36

15 Feb 2010, 16:23

Using nightly snapshot from Feb 12, when trying to sort on any column it does not work and throws this:
HTTP Status 404
descriptionThe requested resource (/TestApp/faces/yui-dt0-href-RecIDColumn) is not available.
Datatable defined as:

Code: Select all

<p:dataTable id="MyTable" var="data" value="#{backingBean.myList}" paginator="true" rows="50" scrollable="true"
                height="#{backingBean.userScreenSize}" width="100%" emptyMessage="#{msgs.NoData}" dynamic="true" widgetVar="cMyTable">
                <p:column id="RecIDColumn" sortBy="#{data.recid}" width="#{backingBean.userColumnWidth}" resizable="true">
                    <f:facet name="header">
                        <h:outputText value="#{backingBean.firstColumnName}" />
                    </f:facet>
                    <h:outputText value="#{data.recid}" />
                </p:column>
...

grizli
Posts: 82
Joined: 11 Nov 2009, 16:36

15 Feb 2010, 16:27

nevermind this, just updated the JAR with newest release from today and sorting is working :D

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

16 Feb 2010, 15:22

Glad to hear :)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 17 guests