Login Register

ContentPane preload... bug or feature?

I've put three ContentPanes as children of a tab. Each of them has a different HREF attribute. Now... I want all three of the panes to load as soon as the TabContainer does - but I don't want them to reload themselves each time the tab is clicked. However, as far as I can tell, the "preload" attribute does exactly that - every time a tab is clicked, _loadCheck() is called. If preload is true, as long as a download isn't already happening, all the content will be re-downloaded. This sounds suspiciously similar to refreshOnLoad.

Is this supposed to happen?

I think this may be a bug

I am having a similar problem. With no preload set tabs don't preload when they should (default should be true). Setting it to true seems to turn on reloadOnShow and not have any effect on preloading. If I drop all attributes and add this

this.refresh();

to the div then it preloads fine.

Funnily enough I have AccordianPanes that I do NOT want to preload but they do - and I can't turn it off!

No time to do example just now if I get a chance I will.