[mochikit] Is anyone working on autocomplete for MochiKit?
I googled the web and the newsgroup. I tried Controls.js from the trunk. And learned, that the Autocomplete within Controls.js is not supported (a mail within this group); and after trying learned it does not work (event handling onkeypress is not working with MochiKit.Signal, wrong attribute-Access to event-object) So my question: is anybody working allready on an autocomplete control for MochiKit? Has anyone fixed Controls.js? Or is the recommended path to start there, repair the bugs and post back? ... trying to avoid reinventing, Harald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Is anyone working on autocomplete for MochiKit?
On 31-Jul-06, at 8:27 AM, GHUM wrote: (event handling onkeypress is not working with MochiKit.Signal, wrong attribute-Access to event-object) Signal should work. What's wrong with it? Can you post a complete example? Thanks, Beau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Is anyone working on autocomplete for MochiKit?
On 31-Jul-06, at 10:04 AM, Harald Armin Massa wrote: Signal works beautifully. The problem sits within the Controls.js: {{{...}}} There is no event.keyString within MochiKit.Signal, that should be event.key().string; and there is also no KEY_RETURN, that is called KEY_ENTER . So I started debugging Controls.js from the SVN Head, which is there by Error as I found from this group. :) I'm not too familiar with that code, but keyString is definitely wrong. I've committed a fix: http://trac.mochikit.com/changeset/1062 If you find any other problems like this, please submit a bug or let us know on the list. Thanks! Beau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Is there any problem with having many connects on a page?
Jorge Godoy [EMAIL PROTECTED] writes: Beau Hartshorne [EMAIL PROTECTED] writes: I don't think you can attach anything to list posts. Could you please submit a trac ticket with an attachment? It should have been attached inline after my signature. But yes. It is here: http://trac.mochikit.org/ticket/152 Hi! Could you take a look at it? Is my code wrong? Should I adopt a different approach to the problem? :-) I'm really willing to go on with this part of the code (even though I'm working on different parts simultaneously, this is pending on my side...). -- Jorge Godoy [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Is there any problem with having many connects on a page?
On 31-Jul-06, at 10:53 AM, Jorge Godoy wrote: Could you take a look at it? Is my code wrong? Should I adopt a different approach to the problem? :-) I'm really willing to go on with this part of the code (even though I'm working on different parts simultaneously, this is pending on my side...). Hi Jorge, If you used native browser events to connect to a lot of elements, your page would probably slow to a crawl as well. I don't think your code or Signal are introducing any other problems on top of this one. A solution to your problem might be to connect() at a higher level for an event, say on document or window. From there, you can see where it came from (http://mochikit.com/doc/html/MochiKit/ Signal.html#fn-target). Something like this *should* work in your situation, but you'll need to write and test the code to be sure. Beau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Is anyone working on autocomplete for MochiKit?
Beau,thank you very much! The other bug in those lines ist:KEY_RETURN should be KEY_ENTER, because Return and Enter both create KEY_ENTER events.Best wishes, Harald-- GHUM Harald Massapersuadere et programmareHarald Armin MassaReinsburgstraße 202b70197 Stuttgart0173/9409607-Let's set so double the killer delete select all. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Favorite JavaScript books?
Are there any favorite books that you've read? I have the JavaScript bible, and it's pretty exaustive, but sometimes it's difficult to sort through the unimportant stuff to find the thing you need to know. I also have Dom Scripting from apress. It's not exaustive, and it's more geared towards designers. But it does a good job of explaining how you can script the DOM in ways that are backwards compatable with older browsers.The writing is good, and the flow of ideas makes sense and I've found that I could use the book to teach people (designer) enough javascript to make their job easier. -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Is anyone working on autocomplete for MochiKit?
On 31-Jul-06, at 1:04 PM, Harald Armin Massa wrote: thank you very much! The other bug in those lines ist: KEY_RETURN should be KEY_ENTER, because Return and Enter both create KEY_ENTER events. Hmm, I'd need to take a closer look at that one. Some browsers do make the distinction. When I get some more time, I'll take a close look at all of that code. Thanks, Beau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---
[mochikit] Re: Favorite JavaScript books?
I found the mozilla developer center is the good place (each function has its example) http://developer.mozilla.org/en/docs/DOM http://developer.mozilla.org/en/docs/JavaScript -- Fred --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~--~~~~--~~--~--~---