[wtr-general] Re: How to click dijit button char

2008-12-02 Thread maven999
Chuck, I agree with your comments. My intention was to figure out why dev wrote the code that they did. However, I do see that coding conventions are not always used consistently (for example, using a drop-down list in some places and a dijit combo box elsewhere when both are doing the same job).

[wtr-general] Re: How to click dijit button char

2008-12-01 Thread Chuck vdL
re having words with the developer.. The dev probably has what they feel is a good reason for using the mouseup to select the item from the list.. Except for instances were it affects testability, or performance, I generally try to stay away from telling the devs how to do their job (lest they t

[wtr-general] Re: How to click dijit button char

2008-12-01 Thread maven999
Chuck, your guess was correct. The following code worked in that I was able to click the down button and cause the dropdown list to appear: $ie.div(:class, 'dijitDownArrowButtonInner').fire_event('onmousedown') But when I then try to select an item in the dropdown list, 'onmousedown' does not w

[wtr-general] Re: How to click dijit button char

2008-11-25 Thread Chuck vdL
OK so we can't see what the functions called by them do, but it does look like there are 4 events getting defined.. have you tried using code to fire one of the events ("onmousedown" seems the most obvious candidate) to see if that makes the list appear? odds are after the mousedown, you're goin

[wtr-general] Re: How to click dijit button char

2008-11-24 Thread wesley chen
We can't see the effect when we click the ▼ through your html. Would you please provide us html page more detailed that, it shows what happens when we click the arrow? Thanks. Wesley Chen. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[wtr-general] Re: How to click dijit button char

2008-11-24 Thread maven999
Hi Chuck, Here is the preceding html which I should have included in my original question: ▼ Thanks! On Nov 24, 12:44 pm, Chuck vdL <[EMAIL PROTECTED]> wrote: > is there anything in the html that is defining something like an > 'onclick' for that thing? all I see in the code above is ba

[wtr-general] Re: How to click dijit button char

2008-11-24 Thread Chuck vdL
is there anything in the html that is defining something like an 'onclick' for that thing? all I see in the code above is basically just text..and normal text isn't clickable as far as I know. maybe there's some other object that's actually overlapping that button On Nov 21, 11:30 am, maven9