1 Aug 2007 01:39
Re: Dojo LayoutContainer and ContentPane as application frame?
mugdiman <at> googlemail.com <mugdiman <at> googlemail.com>
2007-07-31 23:39:59 GMT
2007-07-31 23:39:59 GMT
ok the solution was
dojo.io.bind({
url: "/projects/",
load: function(type, data, evt){ docPane.setContent(data); },
mimetype: "text/html"
});
sorry ...
On 31 Jul., 22:37, "mugdi... <at> googlemail.com" <mugdi... <at> googlemail.com>
wrote:
> Hello Group,
>
> I tried to setup a kind of frame architecture with the dojo layout
> container widget.
> The idea is to load the menu (fisheye widget menu) only once and let
> the django page itself load asynchronously into a ContentPane.
> A dojo menu widget loads an url in the content pane like this:
>
> function load_app(id){
> var docPane = dojo.widget.byId("docpane");
> if (id == 6) {
> docPane.setUrl("/projects/");
> }
> }
>
> Projects is an application of my site. The main urls.py includes the
> url of the projects application:
(Continue reading)
RSS Feed