Changeset 407 for Dev/branches/rest-dojo-ui/client/rft/ui/lists
- Timestamp:
- 09/05/12 14:41:13 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui
- Property svn:ignore
-
old new 1 1 nbproject 2 2 .project 3 release
-
- Property svn:ignore
-
Dev/branches/rest-dojo-ui/client
- Property svn:externals
-
old new 1 dojotoolkit http://svn.dojotoolkit.org/src/tags/release-1.8.0 1 dojo http://svn.dojotoolkit.org/src/tags/release-1.8.0/dojo 2 dijit http://svn.dojotoolkit.org/src/tags/release-1.8.0/dijit 3 dojox http://svn.dojotoolkit.org/src/tags/release-1.8.0/dojox 4 util http://svn.dojotoolkit.org/src/tags/release-1.8.0/util
-
- Property svn:externals
-
Dev/branches/rest-dojo-ui/client/rft/ui/lists/AccountListView.js
r406 r407 12 12 OrderedList 13 13 ) { 14 return declare( 'rft.ui.lists.AccountListView',[OrderedList],{14 return declare([OrderedList],{ 15 15 baseClass: 'rftAccountListView', 16 16 type: 'account', -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/CategoryListView.js
r396 r407 3 3 'dojo/_base/lang', 4 4 '../LineWithActionsWidget', 5 './List' ,6 7 8 9 10 11 12 return declare('rft.ui.lists.CategoryListView',[List],{13 5 './List' 6 ],function( 7 declare, 8 lang, 9 LineWithActionsWidget, 10 List 11 ) { 12 return declare([List],{ 13 baseClass: 'rftLineListView', 14 14 15 16 17 18 19 20 15 _createAvatarNode: function(item) { 16 var node = document.createElement("div"); 17 node.className = "dragAvatar"; 18 node.innerHTML = item.title; 19 return node; 20 }, 21 21 22 _createListNode: function(item) { 23 var w = new LineWithActionsWidget({ 24 title: item, 25 'class': "orange", 26 actions: { 27 "Remove" : { 28 callback: lang.hitch(this, function() { 29 this.removeItem(item, w); 30 }), 31 properties: { 32 blockButton: false, 33 icon: "Delete" 34 } 22 _createListNode: function(item) { 23 var w = new LineWithActionsWidget({ 24 title: item, 25 'class': "orange", 26 actions: { 27 "Remove" : { 28 callback: lang.hitch(this, function() { 29 this.removeItem(item, w); 30 }), 31 properties: { 32 blockButton: false, 33 icon: "Delete" 35 34 } 36 35 } 37 }); 38 w.startup(); 39 return w.domNode; 40 } 36 } 37 }); 38 w.startup(); 39 return w.domNode; 40 } 41 41 42 });43 42 }); 43 }); -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/List.js
r405 r407 19 19 BorderContainer, 20 20 templateString){ 21 return declare( 'rft.ui.lists.List',[BorderContainer,_TemplatedMixin,_WidgetsInTemplateMixin],{21 return declare([BorderContainer,_TemplatedMixin,_WidgetsInTemplateMixin],{ 22 22 templateString: templateString, 23 23 baseClass: 'rftList', -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/MultipleChoiceListView.js
r406 r407 12 12 OrderedList 13 13 ) { 14 return declare( 'rft.ui.lists.MultipleChoiceListView',[OrderedList],{14 return declare([OrderedList],{ 15 15 baseClass: 'rftMultipleChoiceListView', 16 16 type: 'multipleChoiceOption', -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/OrderedList.js
r405 r407 12 12 templateString 13 13 ){ 14 return declare( 'rft.ui.lists.OrderedList',[List],{14 return declare([List],{ 15 15 templateString: templateString, 16 16 baseClass: 'rftLineListView', -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/QuestionListView.js
r406 r407 12 12 OrderedList 13 13 ){ 14 return declare( 'rft.ui.lists.QuestionListView',[OrderedList],{14 return declare([OrderedList],{ 15 15 baseClass: 'rftSurveyListView', 16 16 type: 'question', -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/_EditableListMixin.js
r404 r407 4 4 'dijit/registry' 5 5 ],function(declare,lang,registry){ 6 return declare( 'rft.ui.lists._EditableListMixin',null,{6 return declare(null,{ 7 7 getItems: function() { 8 8 return this.source.getAllNodes() -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/templates/List.html
r389 r407 1 1 <div> 2 <div data-dojo-type="dijit .layout.ContentPane" data-dojo-props="region: 'top'">2 <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'top'"> 3 3 <h3 data-dojo-attach-point="titleNode"></h3> 4 4 </div> 5 <div data-dojo-type="dijit .layout.ContentPane"5 <div data-dojo-type="dijit/layout/ContentPane" 6 6 data-dojo-props="region: 'center'" 7 7 data-dojo-attach-point="sourceNode" -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/templates/OrderedList.html
r389 r407 1 1 <div> 2 <div data-dojo-type="dijit .layout.ContentPane" data-dojo-props="region: 'top'">2 <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'top'"> 3 3 <h3 data-dojo-attach-point="titleNode"></h3> 4 4 </div> 5 <div data-dojo-type="dijit .layout.ContentPane"5 <div data-dojo-type="dijit/layout/ContentPane" 6 6 data-dojo-props="region: 'center'" 7 7 data-dojo-attach-point="sourceNode" 8 8 class="${baseClass}Content"> 9 9 </div> 10 <div data-dojo-type="dijit .layout.ContentPane" data-dojo-props="region: 'bottom'" data-dojo-attach-point="buttonsNode">10 <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" data-dojo-attach-point="buttonsNode"> 11 11 <span>Move selected: </span> 12 12 <button data-dojo-attach-point="btnListMoveUp" ></button>
Note: See TracChangeset
for help on using the changeset viewer.