Opened 9 years ago

Closed 8 years ago

#12175 closed defect (fixed)

[patch]dojox.grid.treegrid not wokring in multi verion dojo

Reported by: charlie_li2005 Owned by: evan
Priority: high Milestone: 1.7
Component: DojoX Grid Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

After setting the djconfig at the top to custom the namespace of dojo, the error happen "expando is not defined".

After work on it, the issue happen as at following line in _treeView.js

expando = dojo.parser.parse(n.parentNode)[0];

Change it to following:

					var args ={
							scope : "dojo"
					};
					expando = dojo.parser.parse(n.parentNode,args)[0];

working pretty good, I think the same issue exist for other components which use the method "dojo.parser.parse". maybe need an generic solution on this.

Attachments (1)

12175.patch (674 bytes) - added by evan 8 years ago.
By using 'dojo._scopeName'+'Type' instead of 'dojoType' in template

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by charlie_li2005

the module should be dojox.grid, sorry about that.

comment:2 Changed 9 years ago by Jared Jurkiewicz

Component: DojoX DataDojoX Grid
Owner: changed from Jared Jurkiewicz to bryanforbes

comment:3 Changed 9 years ago by charlie_li2005

Please notice: I also use v1.6's parser to make above setting works.

comment:4 Changed 9 years ago by bill

Owner: changed from bryanforbes to Bryan Forbes

Changed 8 years ago by evan

Attachment: 12175.patch added

By using 'dojo._scopeName'+'Type' instead of 'dojoType' in template

comment:5 Changed 8 years ago by evan

Milestone: tbd1.7
Summary: dojox.grid.treegrid not wokring in multi verion dojo[patch]dojox.grid.treegrid not wokring in multi verion dojo

comment:6 Changed 8 years ago by evan

Owner: changed from Bryan Forbes to evan
Priority: normalhigh

comment:7 Changed 8 years ago by evan

Resolution: fixed
Status: newclosed

(In [25427]) Fixes #12175, by not hardcoding scope name

Note: See TracTickets for help on using tickets.