p:dataTable AJAX bug

UI Components for JSF
Post Reply
CaptainRichard
Posts: 16
Joined: 20 Oct 2011, 20:51

27 Oct 2011, 23:01

In our project, we have datatables where we allow the user to select a range of dates to view data for. Range selection is implemented using two p:calendars, one to define the start date and one to define the end date. Each calendar has a p:ajax so that when the user changes the selected date, the backing bean gets notified and reloads its data, followed by the table getting updated. Also, each column in the table is sortable.

We've noticed that if we sort the table, then change the date range, the column headers get messed up. All columns are shown as being sorted, rather than none of them (since the sort doesn't "stick" after the table gets updated).

An unrelated question: I was playing with a snapshot build yesterday and noticed that p:menubar displays submenus on hover by default (rather than on click, which is the default in 3.0.M3), and the autoSubmenuDisplay option is gone. Is that permanent, or is the menubar still a work in progress?
Running PrimeFaces 3.5 on JBoss AS 7.1.1.Final

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests