source: Dev/branches/rest-dojo-ui/client/dojox/app/view.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 706 bytes
Line 
1define(["dojo/_base/declare", "dijit/_WidgetBase", "dijit/_Container", "dijit/_Contained","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin"],function(declare,Widget,Container,Contained,TemplatedMixin,WidgetsInTemplateMixin){
2        return declare("dojox.app.view", [Widget,TemplatedMixin,Container,Contained, WidgetsInTemplateMixin], {
3                selected: false,
4                keepScrollPosition: true,
5                baseClass: "applicationView mblView",
6                config:null,
7                widgetsInTemplate: true,
8                templateString: '<div></div>',
9                toString: function(){return this.id},
10                activate:function(){},
11                deactivate: function(){},
12                //Temporary work around for getting a null when calling getParent
13                getParent: function(){return null;}
14        });
15});
Note: See TracBrowser for help on using the repository browser.