Include dojo.js.uncompressed.js instead of dojo.js for the line numbers of errors to make sense.
Also, do you have a <div jwcid="@Any" id="product_1"> anywhere in your code? Cause this is what you're currently trying to update / replace. >From Murray Collingwood <[EMAIL PROTECTED]>: > Hi Karthik > > I set isDebug to true and went to the same form again. > > It took me a couple of goes to find all of the text at the end of the page as > I am using a dark > background. Anyways, here it is. As you will see it's returning two > responses, a scriptblock > and jsincludes, and both of these seem to be handled correctly - still > nothing for the <img> > tag I'm expecting to be sent. Most of this data is part of the JSCookMenu > system. > > INFO:Response:<?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="scriptblock"> <script> //<![CDATA[ function > tapestry_menu_draw_$Border_$JSCookMenu(){ var cmThemeData = { mainFolderLeft: > '', > mainFolderRight: '', mainItemLeft: '', mainItemRight: '', folderLeft: '', > folderRight: '', itemLeft: '', > itemRight: '', mainSpacing: '0', subSpacing: '0', delay: '500' }; var HSplit > = [_cmNoClick, '<td > colspan="3" style="height: 3px; overflow: hidden"><div > class="ThemeMiniBlackMenuSplit"></div></td>']; var MainHSplit = [_cmNoClick, > '<td > colspan="3"><div class="ThemeMiniBlackMenuSplit"></div></td>']; var > MainVSplit = > [_cmNoClick, '<div class="ThemeMiniBlackMenuVSplit"></div>']; 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 ]] ]; cmDraw > ('productMyList/$Border.$JSCookMenu/divId', menuID, 'hbr', > cmThemeData, 'ThemeMiniBlack', HSplit, MainHSplit, MainVSplit); } //]]> > </script> <script> > //<![CDATA[ Tapestry.register_form('Form'); //]]> </script> > </response><response > type="element" id="jsincludes"> <script> //<![CDATA[ > tacos.loadScriptFromUrl("/silver/assets/9596338cdc4a3d4fe07e540d482babc4/TapestryJSC > ookMenu.js"); //]]> </script> <script> //<![CDATA[ > tacos.loadScriptFromUrl("/silver/assets/557f2081d45a7528f898e7e384717596/org/apache/ta > pestry/form/Form.js"); //]]> </script> </response></ajax-response> > DEBUG: preProcessScripts id:scriptblock > DEBUG: preProcessScripts id:jsincludes > DEBUG: sync script eval of: //<![CDATA[ > tacos.loadScriptFromUrl("/silver/assets/9596338cdc4a3d4fe07e540d482babc4/TapestryJSC > ookMenu.js"); //]]> > DEBUG: sync script eval of: //<![CDATA[ > tacos.loadScriptFromUrl("/silver/assets/557f2081d45a7528f898e7e384717596/org/apache/ta > pestry/form/Form.js"); //]]> > DEBUG: postProcessScripts id:scriptblock > DEBUG: evaluating script: //<![CDATA[ function > tapestry_menu_draw_$Border_$JSCookMenu(){ var cmThemeData = { mainFolderLeft: > '', > mainFolderRight: '', mainItemLeft: '', mainItemRight: '', folderLeft: '', > folderRight: '', itemLeft: '', > itemRight: '', mainSpacing: '0', subSpacing: '0', delay: '500' }; var HSplit > = [_cmNoClick, '<td > colspan="3" style="height: 3px; overflow: hidden"><div > class="ThemeMiniBlackMenuSplit"></div></td>']; var MainHSplit = [_cmNoClick, > '<td > colspan="3"><div class="ThemeMiniBlackMenuSplit"></div></td>']; var > MainVSplit = > [_cmNoClick, '<div class="ThemeMiniBlackMenuVSplit"></div>']; 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 ]] ]; cmDraw > ('productMyList/$Border.$JSCookMenu/divId', menuID, 'hbr', > cmThemeData, 'ThemeMiniBlack', HSplit, MainHSplit, MainVSplit); } //]]> > DEBUG: evaluating script: //<![CDATA[ Tapestry.register_form('Form'); //]]> > > Do I need to try removing the menu Javascript? Could there be some clash > between these > two tools? > > Cheers > mc > > > > On 16 Aug 2006 at 7:34, Karthik N wrote: > > > > > can you turn on debug for tacos as was earlier suggested in this discussion > and see if it gives you > > more insight? > > > > On 8/16/06, Murray Collingwood < [EMAIL PROTECTED]> wrote: > > Help > > > > I've been following this discussion with interest as I'm experiencing > the same problem.I > > have even downloaded Firefox and Firebug in order to find out what is > happening. > > > > Similarly to Kevin if I right click and open the AjaxDirectLink in a > new window the correct > > information is displayed so I know all of my logic is correct and the > link is doing what it is > > supposed to, despite this I can't get the content to dynamically update > on the current page. > > > > I tried changing <div jwcid="@Any" id="label"> to <div > jwcid="[EMAIL PROTECTED]" id="label"> but > > this > > didn't make any difference.With the original format I am rendering <div > id="label"> so I > > don't > > think there is any problem in this respect. > > > > I have also been through my html checking for any invalid HTML - I did > have a couple of > > <br> > > tags however these were not in the component to be updated and didn't > seem to be > > causing > > any problem.However, I have corrected them and Firebug is not > complaining about any > > HTML / XML errors that I can tell. > > > > What I do notice from Firebug is that the response from the server > doesn't include the html > > I'm wanting to update.I get the "scriptblock" and "jsincludes" but > nothing else. > > > > A couple of other things Firebug tells me and I'm not sure whether they > are correct or not: > > > > GET > > > http://localhost:8080/silver/ajaxdirect.svc?component=setUrllarge&page=productMyList&ra > > nd > > > =1590326010&session=T&sp=1&updatedirect=false&updateid=product_1&dojoRequest=tr > > ue > > &processScripts=true&uuid=Wed%20Aug%2016%202006%2009%3A40%20GMT%2B100 > > 0 > > &widgetids= dojo.js (line 2715) > > > > This mostly concurs with the .page file: > > > > <component id="setUrllarge" type="tacos:AjaxDirectLink"> > > <binding name="listener" value="listener:setUrllarge"/> > > <binding name="title" value="ognl:product.fullsize.printsize"/> > > <binding name="parameters" value="product.id"/> > > <binding name="updateComponents" value="ognl:{'product_1'}"/> > > </component> > > > > However, that reference to "dojo.js (line 2715)" seems a little > strange.When I click this it > > opens 'dojo.js' to line 2715 which reads: > > > > http.send(null); > > > > Is this normal behaviour?Is this the problem? > > > > How should I go about solving it? > > > > Cheers > > mc > > > > > > > > > > On 14 Aug 2006 at 13:14, Frederic Barnabe wrote: > > > > > > > > Hi Kevin, > > > > > > Try downloading the Firebug Firefox plugin. It's really great for > debugging Ajax requests. > > It would > > > have show you the <br> error right away. > > > > > > Fred > > > > > > > > > On 8/14/06, Kevin Fightmaster <[EMAIL PROTECTED]> wrote: > > > My problem was a relaxed html coding style <br> works great for > browsers... but xml > > > expects there to be an open and close tag or a </>. Since ajax > requests use xml it saw > > the > > > <br> as an invalid tag since there was no closing tag. > > > > > > On 8/14/06, Karthik N < [EMAIL PROTECTED]> wrote: > > > > > > kevin, > > > > > > i'm also having some bizzare experiences related to multiple > request-responses. > > > > > > > http://www.nabble.com/Tacos-Bug----AjaxSubmit-posts-all-the-AjaxLinkSubmits-before- > > it.- > > > tf2090076.html > > > > > > somehow the feeling i got was that the @If and such other > conditionals, cause multiple > > requests > > > to be fired. i'm not able to pinpoint why this is going on .. > > > > > > are there other AjaxLinks/AjaxSubmits in your page? > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > > Get stuff done quickly with pre-integrated technology to make your > job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > > Tacos-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > > Get stuff done quickly with pre-integrated technology to make your > job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > > Tacos-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > FOCUS Computing - web design > > Mob: 0415 24 26 24 > > [EMAIL PROTECTED] > > http://www.focus-computing.com.au > > > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: > 15/08/2006 > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Tacos-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > -- > > Thanks, Karthik > > > > FOCUS Computing - web design > Mob: 0415 24 26 24 > [EMAIL PROTECTED] > http://www.focus-computing.com.au > > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 15/08/2006 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Tacos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tacos-devel > -- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
