-
1. Re: Tabpanel switchType="client" - reRender ignored
ilya_shaikovsky Aug 4, 2010 9:18 AM (in response to renegritsch)1) add a4j:support on event ontabchange - it will rise request every time when new tab activated
2) use the same ontabchange or onenter on tab in order to call some JS function which will make changes. If the changes requires some server side data - also use support.
-
2. Re: Tabpanel switchType="client" - reRender ignored
renegritsch Aug 4, 2010 9:38 AM (in response to ilya_shaikovsky)Thnx ! Used the wrong event before ;-(
reRender works fine now, but i´ve still the problem to set the current selected tab
<rich:tabPanel id="ID58EDF4C8" switchType="client">
<a4j:support event="ontabchange" action="#{tabController.setCurrentTabName('test')}" reRender="modelView" />the action isn´t executed.
Anyway how do i get the selected tab ? Should i add such an support to each <rich:tab or ?
By the way, tabController has the Conversation scope but i think in that case this is not relevant
Thnx for your fast response in advance!
René
-
3. Re: Tabpanel switchType="client" - reRender ignored
renegritsch Aug 4, 2010 9:44 AM (in response to renegritsch)Uups solved it by adding immediate="true".
Sorry ;-) Thank you for you help.
But i have another question, which belongs to seam forum i think, but we had big performance problems
with nested <s:fragment .. (now 0,5sec before with fragment 10sec)
We solved the isse with using <c:if (but thats not working for facelets grr ;-)) because this tag is not an UiComponent like the fragment which walks through its ui component tree again and again.
What i wanted to ask is, i found nothing about this in the forums or internet .. is that an known issue or a bug of our "architecture" ?
We have quite big generated JSF/Richfaces pages, with dynamic modalpanels and so on.thnx René