[solved] Close all tabs in accordion

UI Components for JSF
Post Reply
daniellgp
Posts: 6
Joined: 16 Jul 2010, 20:35

24 Aug 2010, 16:59

Is it possible to make an accordion with all the tabs closed in inicial state?

thanks in advance.
Daniel.
Last edited by daniellgp on 24 Aug 2010, 20:00, edited 1 time in total.

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

24 Aug 2010, 17:18

I think you need to set collapsible to true and set activeIndex to -1. You need 2.2.M1-SNAPSHOT for -1 trick to work.

daniellgp
Posts: 6
Joined: 16 Jul 2010, 20:35

24 Aug 2010, 19:58

It worked with 2.1.RC1!

Thanks!

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

24 Aug 2010, 23:37

Good to hear.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 55 guests