Opened 15 years ago

Closed 14 years ago

#2753 closed defect (wontfix)

<div dojoAttachPoint="domNode"></div> mentioned in FAQ fails in bootstrap1.js

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Dijit Version: 0.4.2
Keywords: domNode dojo.widget.Parse bootstrap1 Cc: [email protected]
Blocked By: Blocking:


The JotSpot FAQ mentions that dojoAttachPoint="domNode" can be used to get around leading comments in custom widget HTML templates. In practice on 0.4.2 this fails for me with a message like

DEBUG: dojo.widget.Parse: error: [TypeError: this.domNode.getElementsByTagName is not a function, file: http://mydevelopmentsystem:myport/js/dojo/src/bootstrap1.js, line: 780]

My template looks like

<!-- XXX Any leading HTML comments will break the template.  -->
<div class="requesterGroupTree" 
    <div dojoType="dojo:TreeBasicControllerV3"
    <div dojoType="dojo:TreeSelectorV3"
    <div dojoType="dojo:TreeV3"

Change History (1)

comment:1 Changed 14 years ago by bill

Component: GeneralDijit
Resolution: wontfix
Status: newclosed

Hopefully that's not in the new FAQ... because not planning to support this in Dijit.

Note: See TracTickets for help on using tickets.