Re: HTML_Progress2 2.3.0 alpha2 with HTML_AJAX
| From: | Laurent Laville | Date: | Mon, 22 Jan 2007 18:25:35 +0000 |
| Subject: | Re: HTML_Progress2 2.3.0 alpha2 with HTML_AJAX | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45514@lists.php.net to get a copy of this message | ||
Joshua Eichorn a écrit :
Laurent Laville wrote:I've still the problem : If you can have a look on my script Progress2/examples/ajax/scriptaculous1.php Perharps I've missed something Thanks in advance LaurentJoshua Eichorn a écrit :I'll test that tonight and see whats happening. -josh I've just committed all stuff in PEAR CVS,Laurent Laville wrote:Hi Joshua, I've played a lot with unofficial HTML_AJAX 0.5.1 and HTML_Progress2 2.3.0a2 today. I think I can tell that alpha 2 is ready to release. Probably in next hours (or tomorrow morning). I really want to tell to you and your dev team: a great thanks for this package. Now I've used it and understand how it work, it's so easy to implement AJAX and used external ajax effect libraries. BTW I've noticed a possible bug few minutes ago while I tested my script with Scriptaculous 1.7.0 and Prototype 1.5.0 <code> function RequestStatusAndFx() { } $callback = 'RequestStatusAndFx'; $server = new HTML_AJAX_Server(); $server->registerPhpCallback($callback); $server->registerJsLibrary('scriptaculous',I'm still working on tests, and building examples, but I expect to release the new version at beginning of next week .Let me know if you have any questions or need help on something. Also I do think its useful to support multiple AJAX libraries for code like this, if your site already uses jquery or moo or prototype there is a good chance you don't want to bring in yet another ajax library. But of course I think its a good to have pear libraries use each other by default. -josharray('prototype.js', 'scriptaculous.js', 'effect.js'), dirname(__FILE__) . DIRECTORY_SEPARATOR. 'scriptaculous-js-1.7.0' . DIRECTORY_SEPARATOR);$server->handleRequest(); </code> I'm notified by HTML_AJAX_Server::_readFile() line 458 that Unable to find javascript file: effect.js Of course it's normal, I've a typo error : it's "effects.js" (s missing) BUT when i use an auto_server pattern, with HTML_AJAX_Server::registerClass(), I AM NOT NOTIFIED OF ERROR Perharps I did something wrong, perharps its a bug ?! best regards Laurent