Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5780 closed defect (fixed)

Add NodeList-dtl

Reported by: Neil Roberts Owned by: Neil Roberts
Priority: high Milestone: 1.1
Component: Dojox Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Add a tag that would let you do something like dojo.query("#mynode").dtl("Template String", {context: "values"});

Change History (5)

comment:1 Changed 11 years ago by Neil Roberts

Resolution: fixed
Status: newclosed

Actually checked in in r12305

comment:2 Changed 11 years ago by dante

Resolution: fixed
Status: closedreopened

this was discussed in #dojo-meeting and on dojo-dev iirc. the allowed way for a dojox project to directly extend core/base dojo would be to namesapce it:

dojox.dtl.ext-dojo.NodeList?

comment:3 Changed 11 years ago by dante

Resolution: fixed
Status: reopenedclosed

(In [12306]) fixes #5780 - move core extension to clearly marked namespace as per Alex's instruction. Couldn't find a test case or unit test for NodeList? dtl?

comment:4 Changed 11 years ago by Neil Roberts

(In [12369]) Refs #5780.

  • NodeList?.dtl can accept URLs for both template and context
  • Template can be passed { url: "url" }
  • Add update function to the Template
  • Update function calls can be chained
  • Update function can accept a NodeList?
  • Update function can accept URLs for both template and context
  • !strict

comment:5 Changed 11 years ago by Neil Roberts

(In [12373]) Refs #5780.

  • Update calls to accept simpler parameters
  • Update formatting in _Filter
  • !strict
Note: See TracTickets for help on using tickets.