dijit.layout

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

时光毁灭记忆、已成空白 提交于 2019-12-05 19:20:56
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://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojo/resources/dojo.css"; @import "http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dijit/themes/tundra/tundra.css"; html, body, #page { width: 100%; height: 100%; overflow: hidden; } </style> <script type="text/javascript"> var