Update dataTable inside accordionPanel

UI Components for JSF
Post Reply
sebisteiner
Posts: 8
Joined: 27 Sep 2011, 11:16
Location: Bern, Switzerland

13 Mar 2012, 19:19

I have a sortable dataTable inside an accordionPanel.

When I click on a table header to sort the content the JavaScript select() function of the accordionPanel object gets called.

This produces an ugly UI effect: The opened tab of the accordionPanel collapses and reopens itself.

Has anybody an idea how this can be avoided?

Thank you for your help!
PrimeFaces 3.4 | WebLogic 10.3.6 | Mojarra 2.0.6 (JSF 2.0)
Eclipse 3.7 | JDK1.6 | Java EE 5 |
Windows 7, Ubuntu 12.04 and Google Chrome 23
___________________
sebisteiner

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

13 Mar 2012, 19:52

1. Create an issue in Issue Tracker, refer to this forum topic URL, provide a simple test case (xhtml and bean), and reply here with the new Issue # and URL of the new issue.

2. Replace usage of dataTable sortable column with Sort By commandButton(s) and ORDER BY in your SELECT statement in your DAO. That's what I do. I don't use dataTable sortable columns.

3. search this forum for solution/workaround by searching google for the following:

forum.primefaces.org sort column datatable accordionpanel
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests