Its the problem with the widgetVar
when you put p:accordion
in ui:repeat
, it will generate Accordion Panel components with different/dynamic Ids but not with different/dynamic widgetVar
when you explicitly specify widgetVar
like you're doing in your code.
Which is basically name to Javascript Object to access the Client side Api functions of p:accordion
.
So If you are not using that widgetVar
of p:accordion
s anywhere, Remove widgetVar
attribute, then the widgetVar
will be generated dynamically.
If you still want to use widgetVar
, give dynamic name yourself, for example:
widgetVar="accordion_#{o.data_one}"
Note: I tried the above strategy with only on ui:repeat
.
Using:Primefaces 3.5 and JSF 2.1.13 and its working for me.