I am generating accordionpanel through primefaces 2.2.1 API and binding to the accpanel as below. This is rendered when user clicks on a commandlink.
But When the tabchangelistener is method is invoked on a bean, it throws duplicate id error. I tried setting ids to all components inside accpanel. But still it throws duplicate id error for the first Tab id of AccPanle .
<p:accordionPanel id="accPanel" widgetVar="jAccPanel" autoHeight="false" binding="#{xxxxBean.yyyyAccPanel}" tabChangeListener="#{xxxxBean.onTabChange}" styleClass="zzstyle">
</p:accordionPanel>
Please give me your suggestions/ideas to get rid of this issue.
Duplicate Id error while tabchangelistener is called
Thanks for the prompt reply.
I am not adding any components there. i am resetting the variables with respect to the selected tab while tab is changed. can i add a component to the selected tab while the tab is changed?
I will try with subview and let u know the updates.
I am not adding any components there. i am resetting the variables with respect to the selected tab while tab is changed. can i add a component to the selected tab while the tab is changed?
I will try with subview and let u know the updates.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 37 guests