Opened 16 years ago

Closed 16 years ago

#1099 closed defect (invalid)

FormBind failing to extend with function [init]

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


Using "Kitchen Sink" Compilation fails on page load with error: "this.init is not a function"

It also cannot access any of the extended properties added by dojo.lang.extend below the function.

Test Page Code: ================== <html> <head>

<title>test</title> <script type="text/javascript" src="/inc/dojo/dojo.js"></script> <script type="text/javascript"> <![CDATA[


function loadBind() {

var x ={

formNode: "myForm", load: function(type, data, e) {




} dojo.addOnLoad(loadBind);

]]> </script>

</head> <body>

<form method="post" action="" id="myForm">

<input type="text" name="inputID" value="" id="inputID"></input> <input type="submit" name="submitButton" value="Submit Test" id="submitButton"></input>


</body> </html> ===========================

Change History (1)

comment:1 Changed 16 years ago by bill

Resolution: invalid
Status: newclosed

Please see

for the correct way to use the FormBind?() class. Admittedly it's very confusing.

Note: See TracTickets for help on using tickets.