Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5773 closed defect (fixed)

Add a dojox.dtl._Templated equivalent

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

Description

Work basically just like dijit._Templated (eg use the text version of DTL) but allow re-rendering.

Change History (8)

comment:1 Changed 11 years ago by Neil Roberts

Resolution: fixed
Status: newclosed

(In [12297]) Fixes #5773.

  • Mixin works exactly like dijit._Templated
  • Mixin also allows multiple buildRender calls
  • Mixin obeys dojoAttachEvent, dojoAttachPoint, dojoType (widgetsInTemplate)
  • Add a render() call to make things prettier
  • !strict

comment:2 Changed 11 years ago by alex

(In [12299]) update the DTL templating to optionally provide full back-compat with the Dijit templating string replacement syntax. Update tests to show example of this. Refactor _Templated slightly in support. Refs #5773 !strict

comment:3 Changed 11 years ago by Neil Roberts

(In [12304]) Refs #5773

  • Create a less complicated Context object for internal use
  • Move Context object to its own area
  • Create a less complicated, more concise tag/filter registry
  • Clean up code to make things smaller/shorter
  • !strict

comment:4 Changed 11 years ago by Neil Roberts

(In [12381]) Refs #5773.

  • Add dojox.dtl._HtmlTemplated with demo
  • Made caching more accurate in dojox.dtl._Templated
  • Added load tag
  • Added dojoAttachEvent support
  • !strict

comment:5 Changed 11 years ago by Neil Roberts

(In [12388]) Refs #5773.

  • Update demos to use _HtmlTemplated
  • Fix small bugs to make demos work
  • Make note in README about load implementation
  • !strict

comment:6 Changed 11 years ago by Neil Roberts

(In [12389]) Refs #5773.

  • Didn't mean to leave debugAtAllCosts on
  • !strict

comment:7 Changed 11 years ago by Neil Roberts

(In [12390]) Refs #5773.

  • Remember to put the body tag outside of the head tag

comment:8 Changed 11 years ago by Neil Roberts

(In [12391]) Refs #5773.

  • Remember to not have periods in my title tag
Note: See TracTickets for help on using tickets.