Login Register

dijit.Layout.ContentPane

Dijit.layout.ContentPane cache problem

Hi,

i want to use dijit.layout.ContentPane to generate a widget, where i can integrate some templated widgets.
The first time i loaded the page everything is fine. When i reload via link the content, dojo can only create the first widget without my defined template and input. Everytime the same procedure, when i load the content for the contentPane everything is fine, but when i reload the contentPane with the same content a second time nothing happen and the page is empty.

Has anybody an idea for this effect?

Cheers

ContentPane+TabContainer Alternatives?

I am working on a project where I am following the progress of items through a process. I have created a TabContainer with several tabs, each tab being a ContentPane. Everything works but it is far too slow to render on some of the low-end computers in the office. The page loads quickly enough and the raw content is visible but the browser then sits for 2-6 seconds, depending on the horsepower of the client machine, before the TabContainer shows up. Meanwhile, CPU usage jumps and consumes at least 100% of one of my cores.

IE: Tree onClick script events not triggered when loaded by href in ContentPane

[EDIT: Please don't use an actual script tag in a title if you can help it, it has the potential to break layouts -- trt]

Sorry for the complicated title. I just ran into this rather significant stumbling block tonight. This is only happening on IE, it works fine in Firefox.

dijit.Layout.ContentPane setHref dynamic problem + solution

If you want to load an external url into a ContentPane and in this url you have a dojo/js code and you want it executed you will have to use dojox.Layout.ContentPane replacement.

<div dojoType="dojox.layout.ContentPane" layoutAlign="top" style="height: 100%;" id="mainPage" executeScripts="true">
</div>

BE WARNED that at the current moment I'm posting this(3.01.2008) If you use setHref to load a page and expect your page to act as before, have in mind that when this code from the loaded url gets parsed it IS EXECUTED the order it is in the page - line by line.

Syndicate content