Hello,
On my page I have several simpleTogglePanels (ajax switchtype) that are closed.
Also, I have put log statements in my backing bean to monitor when the respective getters are getting called.
The first time the page is rendered everything is as I'd expect...none of the getters are called.
On a post back, all the getters are called...I'm not sure why this is, since the simpleTogglePanel is closed.
<rich:simpleTogglePanel opened="false" switchType="ajax">
<f:facet name="header">hello</f:facet>
<ui:repeat value="#{backingBean.expensiveData}" var="data">
#{data.tag}
</ui:repeat>
<rich:dataTable value="#{backingBean.expensiveData2}".../>
</rich:simpleTogglePanel>
I see the exact behavior for toggle panels and tab controls...
Is this an issue with the controls or is the way I'm using the control, I also saw this (http://jira.jboss.org/jira/browse/RF-89) which is kind of related I guess.
The way I'm getting around this issue is by wrapping the content of the SimpleTogglePanel in a h:gridpanel and setting its rendered attribute to (true or false) based on the state of the SimpleTogglePanel.
Thanks in advance.
Hello, I'm struggling with this issue...I was wondering is anyone else suffering from this issue as well.
If my explanation is not clear, please let me know and I'll try to explain it better.
Thanks in advance.