Login Register

Problems trying to get a DIV element to respond to a Dojo event

[editor: moving to the appropriate forum…]

I am using dojo 0.4.1

I am trying to have our <div> respond to a dojo event.

I tried to have a <div> nested in another <div>. each one has a different dojo type attribute we end up with

This .domNode = null when the inner div dojo widget is invoked.

when the inner div dojo widget is invoked.

This is the error message : 'filters' is null or not an object"

error number is : :-2146823281

error number is : :-2146823281

This is the source :

<script>

dojo.require("centauri.widget.DatablockReloader");

dojo.require("centauri.widget.DatablockTime");

</script>

<div dojoType="centauri:DatablockTime" fullParamString="SM_ID=app_Bolts_N_Things_-_Gdansk_by_location" urlPage="http://dtw109025d02:8080/centauri/MainServlet/Operations/Page_test.html" datablockname="body1row2col1datablock1">

<div dojoType="centauri:DatablockReloader" fullParamString="SM_ID=app_Bolts_N_Things_-_Gdansk_by_location" urlPage="http://dtw109025d02:8080/centauri/MainServlet/Operations/Page_test.html" datablockname="body1row2col1datablock1">

Thanks