Login Register

dijit.layout.LayoutContainer

CSS via dynamically inserted <link> in parent LayoutContainer -- ContentPane problem -- am I doomed?

Hi there.

I wonder if I am working against dojo's scriptScope but I am unsure. The (simplified) document is:

<head>
   <link> <!-- stylsheet for current 'page' -->
</head>
   <!-- menu items here -->

   <!-- AJAX loaded html fragments go in this: -->
   <div dojoType="dijit.layout.LayoutContainer">
      <div dojoType="dijit.layout.ContentPane" id="clientPage" layoutAlign="client"></div>
   </div>

Can a ContenPane wrap a LayoutContainer?

The issue I was having is I wanted layout but within a TooltipDialog and I've tracked down why it wasn't work to LayoutContainers not working correctly in ContentPanes. I know there's a test with embedded LayoutContainers but when I play with the test page to see what happens it breaks too.

I'm guessing this doesn't work, after wrestling with it for awhile, but just incase I thought I'd ask.

Layout Container - Usage

Hi All,

I was trying to use Dojo LayoutContainer like they way we use framesets in html. Its a simple scenario, banner on top (say banner1), menu on left (say menu1) and client (the main target frame) in the rest of the space.

Now my ques is, how dojo parser reacts when we load a JSP page (say "page1") in the client space, by clicking some menu item on the left. The "page1" being displayed contains some dojo widgets also.

Request for making dojox.layout.ContentPane act like dijit.layout.LayoutContainer

I recently created an enhancement ticket for this (=trac #5169).

I'm in need for a ContentPane that loads its content remotely and acts as a LayoutContainer for all its loaded widgets. I didn't find a solution with the standard widget set, so I created one on my own. Perhaps there's a chance to get this abilities into dojox.layout.ContentPane directly. Here is my snippet of code for the widget class. dojo.provide("tas.LayoutContentPane") dojo.require("dijit.layout.LayoutContainer"); dojo.require("dojox.layout.ContentPane");
Syndicate content