I've got a page which has a form that contains a table. It works fine
using a regular form and a standard contrib: table. The only thing
that changes on the page is the content of the table itself, which is
also part of the form.
However, when I replace form with ajaxForm and table with tacos:table,
The table does not update, but I get a ton of debug garbage at the
bottom of the page. This occurs whether I put the id of the table in
the updateComponents list or not. I am not sure I need to include the
table, since it is also part of the form, and I suspect that ajaxForm
always updates itself, whether it is in the list or not. Regardless,
I have tried it both ways. Here is the debug output from a run when
the table id was NOT in the list of updateComponents (although it
appears identical to the output when it is in the list).
NFO:FormResponse:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [ <!ENTITY
nbsp ' '> ]> <ajax-response><response type="element"
id="frmACamphidden"><div style="display:none;"
id="frmACamphidden"><input type="hidden" name="formids"
value="condSorted,condSort,condSorted_0,condSort_0,condSorted_1,condSort_1,iterRows,ifActive,ifInactive,condPages,pauseCampBtn"/>
<input type="hidden" name="submitmode" value=""/> <input type="hidden"
name="submitname" value=""/> <input type="hidden" name="condSorted"
value="T"/> <input type="hidden" name="condSort" value="F"/> <input
type="hidden" name="condSorted_0" value="T"/> <input type="hidden"
name="condSort_0" value="F"/> <input type="hidden" name="condSorted_1"
value="T"/> <input type="hidden" name="condSort_1" value="F"/> <input
type="hidden" name="iterRows"
value="VZH4sIAAAAAAAAAFvzloG1uIhBMCuxLFGvtCQzR88jsTjDN7GAlf3WwcNiCReZGZjcGLhy8hNT3BKTS/KLPBk4SzKKUosz8nNSKgrsHRhAgKecA0gKADF7CQNXYkpZalFJZjGQYGBzDAz1D3EFMoC6M8tS4XblJOal6znl5+ekJuadVShquDrn1zsmBsYoBtayxJzS1IoChhIGjsTkxNyC+MwUVF2eeSWp6alFQo8WLPne2G4B1OUJ01XEIIBQ51eam5Ra1LZmqiz3lAfdTAwMQEMZGD+UMHBC3OKfk1LIUMfABrQIZE9iZnpeCQMvxMHxjj4+8aHeILX5RSmpRSBHgBSD/PmlhIElLzE3FcTnrQAAe0OfGEIBAAA="/>
<input type="hidden" name="ifActive" value="F"/> <input type="hidden"
name="ifInactive" value="T"/> <input type="hidden" name="condPages"
value="F"/> </div></response><response type="element"
id="scriptblock"> <script> //<![CDATA[ function
tapestry_menu_draw_header_menu(){ var cmThemeData = { mainFolderLeft:
' ', mainFolderRight: ' ', mainItemLeft: ' ',
mainItemRight: ' ', folderLeft: ' ', folderRight:
'<img alt=""
src="/reporting/asset.svc?digest=8b300a8de889e33177d957761b758ac7&path=ThemeEuroclick%2Farrow.gif"> ',
itemLeft: ' ', itemRight: '<img alt=""
src="/reporting/asset.svc?digest=dbfdb370c918e6be2377cebc5ee987df&path=ThemeEuroclick%2Fblank.gif"> ',
mainSpacing: '0', subSpacing: '0', delay: '500' }; var HSplit =
[_cmNoClick, '<td class="ThemeEuroclickMenuItemLeft"></td><td
colspan="2"><div class="ThemeEuroclickMenuSplit"></div></td>']; var
MainHSplit = [_cmNoClick, '<td
class="ThemeEuroclickMainItemLeft"></td><td colspan="2"><div
class="ThemeEuroclickMenuSplit"></div></td>']; var MainVSplit =
[_cmNoClick, '|']; var menuID = [ [null, 'null', null , null, null ,
[null, 'null', null , null, null ], [null, 'null', null , null, null
]] , [null, 'null', null , null, null , [null, 'null', null , null,
null , [null, 'null', null , null, null ], [null, 'null', null , null,
null ]]] , [null, 'null', null , null, null , [null, 'null', null ,
null, null ], [null, 'null', null , null, null ], [null, 'null', null
, null, null ]] , [null, 'null', null , null, null , [null, 'null',
null , null, null ]] ]; cmDraw ('EditACamp/header.menu/divId', menuID,
'hbr', cmThemeData, 'ThemeEuroclick', HSplit, MainHSplit, MainVSplit);
} dojo.require("dojo.fx.html"); dojo.require("dojo.io"); //]]>
</script> </response><response type="element" id="jsincludes">
<script> //<![CDATA[
tacos.loadScriptFromUrl("/reporting/asset.svc?digest=8e00c33b7fc208159a5a9f9d434ad009&path=%2FTapestryJSCookMenu.js");
//]]> </script> <script> //<![CDATA[
tacos.loadScriptFromUrl("/reporting/asset.svc?digest=bea548e20e3c279dff1fbe6afb6ed7ec&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js");
//]]> </script> <script> //<![CDATA[
tacos.loadScriptFromUrl("/reporting/asset.svc?digest=ec266084ece29ede795db38c9c8cbf3d&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Fprototype.js");
//]]> </script> </response></ajax-response>
DEBUG: preProcessScripts id:frmACamphidden
DEBUG: preProcessScripts id:scriptblock
DEBUG: preProcessScripts id:jsincludes
DEBUG: sync script eval of: //<![CDATA[
tacos.loadScriptFromUrl("/reporting/asset.svc?digest=8e00c33b7fc208159a5a9f9d434ad009&path=%2FTapestryJSCookMenu.js");
//]]>
DEBUG: sync script eval of: //<![CDATA[
tacos.loadScriptFromUrl("/reporting/asset.svc?digest=bea548e20e3c279dff1fbe6afb6ed7ec&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js");
//]]>
DEBUG: sync script eval of: //<![CDATA[
tacos.loadScriptFromUrl("/reporting/asset.svc?digest=ec266084ece29ede795db38c9c8cbf3d&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Fprototype.js");
//]]>
DEBUG: processAjaxResponse responseId:frmACamphidden
DEBUG: responseId: frmACamphidden
DEBUG: postProcessScripts id:frmACamphidden
DEBUG: postProcessScripts id:scriptblock
DEBUG: evaluating script: //<![CDATA[ function
tapestry_menu_draw_header_menu(){ var cmThemeData = { mainFolderLeft:
' ', mainFolderRight: ' ', mainItemLeft: ' ',
mainItemRight: ' ', folderLeft: ' ', folderRight:
'<img alt=""
src="/reporting/asset.svc?digest=8b300a8de889e33177d957761b758ac7&path=ThemeEuroclick%2Farrow.gif"> ',
itemLeft: ' ', itemRight: '<img alt=""
src="/reporting/asset.svc?digest=dbfdb370c918e6be2377cebc5ee987df&path=ThemeEuroclick%2Fblank.gif"> ',
mainSpacing: '0', subSpacing: '0', delay: '500' }; var HSplit =
[_cmNoClick, '<td class="ThemeEuroclickMenuItemLeft"></td><td
colspan="2"><div class="ThemeEuroclickMenuSplit"></div></td>']; var
MainHSplit = [_cmNoClick, '<td
class="ThemeEuroclickMainItemLeft"></td><td colspan="2"><div
class="ThemeEuroclickMenuSplit"></div></td>']; var MainVSplit =
[_cmNoClick, '|']; var menuID = [ [null, 'null', null , null, null ,
[null, 'null', null , null, null ], [null, 'null', null , null, null
]] , [null, 'null', null , null, null , [null, 'null', null , null,
null , [null, 'null', null , null, null ], [null, 'null', null , null,
null ]]] , [null, 'null', null , null, null , [null, 'null', null ,
null, null ], [null, 'null', null , null, null ], [null, 'null', null
, null, null ]] , [null, 'null', null , null, null , [null, 'null',
null , null, null ]] ]; cmDraw ('EditACamp/header.menu/divId', menuID,
'hbr', cmThemeData, 'ThemeEuroclick', HSplit, MainHSplit, MainVSplit);
} dojo.require("dojo.fx.html"); dojo.require("dojo.io"); //]]>