This content has been marked as final.
Show 5 replies
-
1. Re: Dynamic javascript in tabPanel
r4nd7263 Mar 12, 2010 3:29 PM (in response to r4nd7263)It works (as expected) if swithcType="Client", but client mode is undesirable for performance reasons. -
2. Re: How to render dynamic javascript in tabPanel?
r4nd7263 Mar 16, 2010 7:51 AM (in response to r4nd7263)Still looking for help. Any thoughts would be greatly appreciated. -
3. Re: How to render dynamic javascript in tabPanel?
nbelaevski Mar 16, 2010 8:31 AM (in response to r4nd7263)Hi,
This seems to be a problem of the widget itself.
-
4. Re: How to render dynamic javascript in tabPanel?
harut Mar 16, 2010 9:16 AM (in response to r4nd7263)Poblem is not related to tabpanel. I've tested to place mentioned JS String outside from tabpanel in <h:panelGroup/> which is rendering if the first tab is selected. After testing I got the same behavior. Unfortunately no idea about possible solution. -
5. Re: How to render dynamic javascript in tabPanel?
r4nd7263 Mar 16, 2010 9:33 AM (in response to nbelaevski)Nick is right. I should have tried with a simpler script. I am not sure how Google Web Gadget hooks itself. On Firefox, reloading the widget via AJAX actually cause the whole page to disappear.
Looks like my solution is to redesign my page in order to cope with script incompability with ajax rerendering.