I guess I should also include this info:

.page file:
   <component id="frmACamp" type="tacos:AjaxForm">
       <binding name="listener" value="listener:formSubmit" />
       <binding name="updateComponents" value="ognl:{'tableACamp'}" />
   </component>

   <component id="tableACamp" type="tacos:Table">
        <binding name="source" value="ognl:campList"/>
        <binding name="columns" value="ognl:columns"/>
        <binding name="row" value="ognl:currentRow"/>
        <binding name="columnsClass" value="literal:title"/>
        <binding name="rowClass" value="literal:grid"/>
        <binding name="pageSize" value="20"/>
    </component>

.html content:
<form jwcid="frmACamp" name="frmACamp">
   <div jwcid="[EMAIL PROTECTED]" id="tableDiv">
       <table jwcid="tableACamp" width="450" border="0">

             <span jwcid="[EMAIL PROTECTED]">
               <span jwcid="ifActive">
                  <span jwcid="statusField"/>
               </span>
               <span jwcid="ifInactive">
                  <span jwcid="statusLabel"/>
               </span>
             </span>

       </table>
   </div>
   <div align="center">
     <input type="submit" value="Pause Selected Campaigns"
jwcid="pauseCampBtn"/>
   </div>


On 5/27/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
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 '&#160;'> ]> <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:
'&nbsp;', mainFolderRight: '&nbsp;', mainItemLeft: '&nbsp;',
mainItemRight: '&nbsp;', folderLeft: '&nbsp;&nbsp;', folderRight:
'<img alt="" 
src="/reporting/asset.svc?digest=8b300a8de889e33177d957761b758ac7&path=ThemeEuroclick%2Farrow.gif">&nbsp;',
itemLeft: '&nbsp;&nbsp;', itemRight: '<img alt=""
src="/reporting/asset.svc?digest=dbfdb370c918e6be2377cebc5ee987df&path=ThemeEuroclick%2Fblank.gif">&nbsp;',
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:
'&nbsp;', mainFolderRight: '&nbsp;', mainItemLeft: '&nbsp;',
mainItemRight: '&nbsp;', folderLeft: '&nbsp;&nbsp;', folderRight:
'<img alt="" 
src="/reporting/asset.svc?digest=8b300a8de889e33177d957761b758ac7&path=ThemeEuroclick%2Farrow.gif">&nbsp;',
itemLeft: '&nbsp;&nbsp;', itemRight: '<img alt=""
src="/reporting/asset.svc?digest=dbfdb370c918e6be2377cebc5ee987df&path=ThemeEuroclick%2Fblank.gif">&nbsp;',
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"); //]]>



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to