Accordion Events?

UI Components for JSF
Post Reply
bluesturbo
Posts: 52
Joined: 30 Nov 2009, 17:10

15 Mar 2010, 00:15

I'm trying to capture the onClick event on the Accordion. Want to use this for dynamic navigation for the center region of the layoutUnit.The idea is then to populate the tab content with sub-navigation items for the selected layoutUnit content.

Code: Select all

 <p:accordionPanel   widgetVar="accordionNav" activeIndex="0"
                                animate="false"
                                style="height:16px;width:100%">
                <p:ajax event="accordionNav.openPanel(index)"
                    actionListener="#{navigationBean.selectPage}"/>
               ...
Is this even close?
NetBeans 7 Maven PrimeFaces-3.0.M2-SNAPSHOT, JPA 2.0, GlassFish 3.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests