Login Register

LayoutContainer

Can LayoutContainer's bottom section be collapsible?

I'm attempting to create a layout that has a pane at the bottom that expands up in to the client space, but I'm having problems. I've tried an Accordion and TitlePane (which I didn't really feel would be correct) and neither has produced the desired result. Is this something where I should be looking to create a custom widget? It seems over the top to me. I know other libraries have this feature, maybe BorderLayout will at 1.1? Although I'd rather not wait till then. Any direction would be appreciated.

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.

LayoutContainer inside a SplitContainer, using template

I try to display a LayoutContainer inside a SplitContainer, using a template declaration, but it doesn't work.

Here's my sample source code :

test

@import "../js/dojotoolkit/resources/dojo.css";
@import "../js/dojotoolkit/dijit/themes/tundra/tundra.css";

 

dojo.require("dojo.parser");

How to put a LayoutContainer in a Dialog ?

Hi All,
I want to use layoutContainer and ContentPane just like the sample in dojo book, but in a Dialog. The problem is that the constraints 'left' and 'right' are not used...

This code is extracted directly from the dojo book, I have added a Dialog Div around it:

LayoutWidget(s) inside of accordianPane fix

While working with Layout Widgets i noticed that if there are layout items within an accordionPane they do not get resized or have their layout correctly rendered. Looking into the source code it appears that it is a todo item to have the accordionPane call the resize function of its nested containers. Below are the changes i made to have the child layouts resize.

Be warned, I have not fully tested the solution on all cases!

Syndicate content