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
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to