Closed (fixed)
Project:
Examples for Developers
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2009 at 11:17 UTC
Updated:
24 Feb 2010 at 18:10 UTC
Jump to comment: Most recent file
Add examples for AJAX and AHAH.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | examples.katbailey_link_example_610440_13.patch | 3.04 KB | rfay |
| #12 | examples.ajax_advanced_update.patch | 13.03 KB | rfay |
| #10 | ajax_link_example.patch | 1.36 KB | katbailey |
| #8 | examples_advanced_ajax_01.patch | 16.07 KB | rfay |
| #3 | examples_ahah_example_d6_01.patch | 9.52 KB | rfay |
Comments
Comment #1
rfayHere's the 7.x AJAX example. It's attached as a zipfile instead of as a patch so it can be dropped into place.
Comment #2
rfayCommitted: http://drupal.org/cvs?commit=277700
Please review. Now changing this to 6.x.
Comment #3
rfayHere's the D6 AHAH Example.
Committed to DRUPAL-6--1: http://drupal.org/cvs?commit=281822
Comment #4
rfayMore work:
For D7 add:
0.
Ajax commands1.
A link example2.
no-js examples3. How to pass settings for ajax-loaded content.
Comment #5
rfayComment #6
ilo commentedare we going to include a test file for the D6 version of this module?
Edited: I forgot to mention.. thanks rfay the work on d6 example also :)
Comment #7
rfay@ilo, #6: It's so hard to do a reasonable test for AHAH... You can test the system/ajax call, but you're not really testing the functionality. I'm not even completely sure that we should include a test for D7, but I think you already have it written, so I look forward to seeing it.
Comment #8
rfay#4 has the ongoing list of examples we want for D7.
The attached patch implements most of the AJAX commands.
I'm going to commit the current work in progress for D7 here because it will be useful for testing a number of core patches. It's definitely not done, but most of it works.
#623310: AJAX 'changed' command asterisk argument doesn't work
#623320: AJAX 'css' command unimplemented in misc/ajax.js
#622922: User input keeping during multistep forms (most important)
Committed: http://drupal.org/cvs?commit=284036
Comment #9
katbailey commentedSubscribing - I will add a link (i.e. using the 'use-ajax' class) example later today as I have the code already written...
Comment #10
katbailey commentedOops, didn't get to this the other day - anyway, here's the patch with the ajax link example...
Comment #11
katbailey commentedI've added a js_example module, which currently only has a couple of tiny example but I will add more...
http://drupal.org/cvs?commit=288440
Comment #12
rfayThis issues in #8 have now all sorted out, so I'm committing this update which mostly affects the AJAX Commands, but also did a bunch of Doxygen cleanup and added a new simplest example, which is pointed at by the patch in http://drupal.org/node/610068#comment-2371466 for ajax.inc.
http://drupal.org/cvs?commit=301634
Still working on the items in #4
Comment #13
rfay@katbailey: Sorry I missed your patch in #10 somewhere. I'm committing it here with some additional documentation. Thanks so much for getting this together. Your work makes it very clear.
http://drupal.org/cvs?commit=301638
Comment #14
rfayI'm going to call this one good. Followups in new issues.