Login Register

event

I think I've found a serious problem with Dijit system

specifically, if I have plain (non-dijit) input or textarea elements contained inside a ContentPane or BorderContainer, the mousedown events inside these elements have no effect (tested on FF2/3, dojo versions 1.1.1 as well as 1.2.0b2). The simple mark-up after the next paragraph will reproduce the problem.

beefing up dojo.require(), to load modules on demand

Hi,
I am porting my web app (at lipik.in) to Dojo, for a variety of reasons, incuding, modularity, extensibility etc.
No big surprises so far (thank you!), but I have a couple of questions:

Grid event onSet don't want be fired :/

Hi !

I've spend about 3hr to found out why the onSet event is never fired, I, desperatly, I ask for your help :)

So, here is my code :

function createGrid (oResponse, ioArgs) {
var grid = dijit.byId("grid");
var store = new dojo.data.ItemFileReadStore({data: oResponse });
var gridModel = new dojox.grid.data.DojoData(null, store, {query:{destination: '*'}, clientSort:true});
grid.setModel(gridModel);
grid.refresh();

dojo.connect(grid.model, 'onSet', onSetEvent);
//dojo.connect(grid, 'onSet', onSetEvent);
}

dispatchEvent() to unknown leaf-node

Hi! [first post dance]

I wish to dispatch an event programmatically.
The scenario is well modelled by trying to spatially displace a regular event. E.g. a click-event occurs at (10,10) and I wish to re-dispatch (+10,+10) at (20,20).

I tried calling dispatchEvent() on the uber-container (e.g. DIV) but it seems that makes the event's target the uber-container rather than the HTML component at that location (e.g. a link, Dijit widget, etc). I tried synthesizing an entirely new event (rather than redispatching an extant one) and saw the same result.

Help, no event object is passed by dojo.connect

hi.
I build programmaticly a dijit:

var mydijit = new dijit.form.FilteringSelect (props, nodeID);

Then I connect to onChange-Listener

dojo.connect(mydijit,'onChange',function(e) {console.dir(e);});

Console says
object {
0: "10"
endWith: function()
trim: funtion()
}

Anybody an idea whats going wrong?
I never got an real Even-Object passed :(
I never found a solution to track back a fired event function :(

please help, I searched the whole site
greetings,
melchior

Firefox 3 fires the DomContentLoaded event prematurely

I've run into an issue with Firefox 3 firing its DomContentLoaded event before all of the inline javascript and required dojo libraries have been pulled into the context. Has anyone else here noticed a similar issue with the latest relase of Firefox 3? I can readily reproduce the problem using FF3 on WinXP (the mozilla folks have also been able to reproduce it with FF3 on Vista).

We've reported a bug to Mozilla here: https://bugzilla.mozilla.org/show_bug.cgi?id=444322

Emulate onclick event on link

Hello!
I'm trying to refactor script from jquery to dojo and have a problem with call event onclick on link from script.
How to make .click() from dojo on a link?? Any suggestions?

struts2 : Problem with events in autocompleter

I am using struts2 autocomplete tag

<s:iterator value="orderFormList" status="count">
               <s:autocompleter forceValidOption="true" autoComplete="false" listKey="id" maxLength="6"
                    id="orderFormMemberList${count.index}" keyName="orderFormMemberIdList[${count.index}]"
                    name="orderFormMemberNameList[${count.index}]" theme="simple" list="portraitClassMemberList"
                    onchange="changeForm()">
               </s:autocompleter>
           </s:iterator>

struts2 : Problem with events in autocompleter

I am using struts2 autocomplete tag

Chart and Event

Hello,

Can I attach some events on the chart, for example onmouseover, onclick etc.. ?

Thanks,

Youngho

Syndicate content