[eluser]Ajaxboy[/eluser]
Generically speaking it should work, although I haven't personally use DataMapper, there is nothing in the Ajax Framework that would prevent it from working - that is according to my sight from here.
Though, lets go ahead and sort this out:
Try this, do:
Code:
die('ajax:<pre>'.print_r($ajax,1).'<pre>');
right after:
Code:
$ajax = ajax();
also try this scenario,
just for testing purpose:
removing the DataMapper, and do the same debugging above