So, did you get the AjaxDirectLink working? Danny Mandel wrote:
> Thanks Jesse. Firebug is great and immediately showed that, in fact, > under the covers, port numbers were getting included and hence the > reason for the error. > > Sincerely, > Danny > > Jesse Kuhnert wrote: > >> To be really honest I've never run into this issue before. You can do >> cross domain scripting now, just not in the way that you are doing it. >> >> I'm not completely sure, but if you go to the source - ie the dojo >> users mailing list ( http://dojotoolit.org) - you might find an answer. >> >> An easier method of debugging would be to install the FireBug FF >> extension. It will allow you to turn on viewing XMLHTTP traffic at >> which point you can see if it looks like you really are trying to >> cross domains with script calls. That's the first thing I would do. >> >> On 3/21/06, *Danny Mandel* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> Hi All. This is my first time using Tacos or doing ajax stuff, >> so if >> this is a silly question, please bear with me. I'm trying to do a >> very >> simple thing, have a Tacos AjaxDirectLink send a request to the >> server >> and just update some text in my page with the server's response >> i.e.: >> >> <a jwcid="@tacos:AjaxDirectLink" >> listener="listener:updateMessageWithName" >> parameters="ognl:{currentNode.name }" >> updateComponents="ognl:{'message'}">some text</a> >> >> Nothing too outlandish, I would think. It doesn't appear that my >> request even makes it to the server, however. When I turn on Dojo's >> debugging, I'm getting this message: >> >> "DEBUG: ERROR: On line 0 of document : uncaught exception: >> Permission >> denied to call method XMLHttpRequest.open" >> >> This error message is detailed here -- >> http://www.mozilla.org/projects/security/components/same-origin.html >> -- >> but the basic idea is you can't do cross-domain scripting. Now, I'm >> just using the tacos AjaxDirectLink component, so I'm not explicitly >> attempting to cross-domain script things. I *am* running apache in >> front of Tomcat, so maybe that is causing me grief (it says >> something >> about how it has to be the same port number, but all of my URLs >> look the >> same -- no port #s --, I'm just doing URL rewriting via >> mod_rewrite). >> >> Any ideas about how to go about debugging this? It is completely >> stopping any work I might hope to do with Tacos. >> >> TIA, >> Danny Mandel >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the >> live webcast >> and join the prime developer group breaking into this new coding >> territory! >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> >> >> _______________________________________________ >> Tacos-devel mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/tacos-devel >> >> >> >> >> -- >> Jesse Kuhnert >> Tacos/Tapestry, team member/developer >> >> Open source based consulting work centered around >> dojo/tapestry/tacos/hivemind. http://opennotion.com > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Tacos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tacos-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
