Opened 12 years ago

Last modified 12 years ago

#7993 closed defect

dijit._Templated escape sequence for quote replacement fails with compound values — at Initial Version

Reported by: James Burke Owned by:
Priority: high Milestone: 1.3
Component: Dijit Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:


I want a token that should skip the double-quote escaping. It is called, so I reference it in the template like so:


However, that does not work. The key is not found. I believe this issue is at line 44 in dijit._Templated._stringRepl():

if(key.charAt(0) == '!'){ value = _this[key.substr(1)]; }

I believe for my key above, it is trying to look for, but I really want

Perhaps switching to something like this would work:

if(key.charAt(0) == '!'){ value = dojo.getObject(key.substr(1), _this); }

Change History (0)

Note: See TracTickets for help on using tickets.