dijit.layout

Can I implement a breadcrumb trail using dijit.layout.StackContainer in Dojo? Are there better ways?

I want to implement a breadcrumb trail in a website using Dojo - and I am considering using StackContainer. Is this a good approach? Are there better ways of achieving the same thing? --UPDATE-- Here is an article from IBM that makes use of the StackContainer for a breadcrumb trail http://www.ibm.com/developerworks/library/wa-aj-cust...

Dojo TabContainer with styling in Internet Explorer

The following works in firefox: top:0px;margin-top:60px;bottom:0px;width:100%"> height:100%"> {% for row in tabContent %} top:0px;margin-top:60px;bottom:0px;width:100%"> ...

call function with dijit.layout.ContentPane onload?

Hi, Is it call test() of sub.htm from index.htm by this code when doing very? Thank you very much. index.htm <div dojoType="dijit.layout.ContentPane" id="subFrame" region="left" href="sub.htm"> <script type="dojo/connect" event="onLoad"> // this call test() </script> </div> sub.htm <script type="text/javascript"> function...

dijit.layout.TabContainer nested tabs auto load

Hello, I'm fairly new to Dojo toolkit, and well really like it. But I have a problem with nested tabs auto-refreshing. Here is a sample of my practice code where this problem exists. I'm currently concerned with this as it introduces a huge performance problem when the sub-tabs are plentiful; ex: my subtabs are the letters A-Z for in...

Using table inside dijit.form.ContentPane doesn't work in Internet Explorer 7

I'm having problems using a table inside a ContentPane. It seems to work fine in Firefox but is invisible in Internet Explorer 7. The html below demonstrates what I mean. In Firefox you get: Before Table This is the table After Table In Internet Explorer 7 you get: Before Table After Table No table at all. Does anyone know the cause ...

dijit BorderContainer auto-grow

Is there a way to have a dijit.layout.BorderContainer auto-grow in height? I've tried setting min-height: 200px; height: auto;, but it won't scale. I've tried looking at the API, but that thing is a mess... So any help would be appreciated (: ...

How to make a scrollable, clickable list of items in Dojo?

I'm totally new to Dojo (using 1.3 via Google's XD), and want to try to do things the 'right way', but don't see an obvious dojo.layout.*Container for this. Basically, I have a UI with a list of categories on the left, and then a list of data on the right. So say there are 20 categories and each one has 20 items in it. I want to be ...

Generically Replace Loading Message for a dijit ContentPane

I want to replace the standard dijit.ContentPane loadingMessage with a animated GIF instead of the default "Loading..." message. According to documentation, the default message is: <span class='dijitContentPaneLoading'>${loadingState}</span> So I have overridden the CSS with: .dijitContentPaneLoading { background-image: url('../...

djit.layout.Tabcontainer - click-based event is fired two times

Hi, I want to add listeners on selection event, but implementation via code below fired event two times. Only javascript core onClick event is fired correctly one time. dojo.connect(myTabCont, "onButtonClicked", function(tabList){ console.log(tablist); }); dojo.connect(myTabCont, "selectChild", function(tabList){ console.log(ta...

dojo borderlayout show all the content , flicker then redraw correctly

Hello, I copied an example from the dojo site using Borderlayout. However, when I load in the browser , the entire data is shown for all the section . Then after a few second the content is refersh and the data is displayed correctly. here is code that i copied . Thanks for your help <head> <link rel="stylesheet" type="text/...

How do I modify the width of a TabContainer in Dojo

I'm experimenting with Dojo, so far it's very cool except for the fact that I can't seem to be able set the width of a TabContainer. I have the following code <div id="tabs" dojoType="dijit.layout.TabContainer" doLayout="false"> <div id="javaTab" class="myTab" dojoType="dijit.layout.ContentPane" title="Java"> <h1>Hello I'm t...

Dojo: Programatically setting checkbox label for adding on TableContainer

Hi there, after some hours of checking out documentation, I am somewhat desperate: Basically I need to populate a TabContainer with some TextBoxes, and some Checkboxes. All theses neatly arranged: Labels to the left, fields to the right. To have this done I use a TableContainer that I add to the TabContainer, create the TextFields and ad...

dijit style claro not in Google CDN

dojo's Theme Tester is Showing theme claro as one available theme in http://archive.dojotoolkit.org/dojo-2010-04-12/dojotoolkit/dijit/themes/themeTester.html?theme=claro But claro is not accessible from Google CDN. I've also tried to use claro from the same place where the ThemeTester is pulling. But layout doesn't look the same. rather ...

Dojo: BorderContainer and ContentPanes not working inside of a custom widget template

Hey guys, im trying to create some custom templated widgets with dijit.layout objects (BorderContainer, ContentPane) in the template, and i just can't get it to work. Maybe SO can steer me in the right direction... here's my code so far: test.html <html> <head> <title>Test Page</title> <style type="text/css"> @import "http:...

Overriding default key functionality dijit containers

So I'm having some trouble overriding some dijit default functionality. By default, the arrow keys will traverse through the container if possible (if there's more than one). It does this for dijit.layout.TabContainer, dijit.layout.AccordianContainer, etc. Now from what I see all key events are published by dijit.layout.StackContainer ...

How do I "get" the ID for a "clicked" tab in a dijit.layout.tabcontainer?

I haven't been able to find a clearly defined solution for this. Most are incomplete snippets. Here is a simple sample. See the doSomething() comment: <head> <style type="text/css"> body, html { font-family:helvetica,arial,sans-serif; font-size:90%; } </style> <link rel="stylesheet" type="text/css" href="http://a...

Using Dojo BorderContainer in a Zend Framework layout script

I have just started playing around with using Dojo in Zend Framework and things have been fine up until recently. For now, I would like to be able to make a simple GUI using BorderContainer and ContentPanes, however I have been finding this is a bit awkward. Basically to get the container Dojo elements to work, I have found that I need ...