Hi Andreas. I'm using tacos beta 1. I do have the same problem with
the form.
Unfortunately this proxying issue is due to historical reasons for how
our current development environment is set up. Our designers will post
static files to a virtual host i.e. xxx.tolweb.org and the webapp set up
on that machine points to my development box.
I think I'll be able to find a solution, I feel I'm getting close.
Danny
Andreas Andreou wrote:
Another question:
Does the same problem appear when using a simple AjaxForm
(use the same listener as in AjaxDirectLink, set the same updateComponents
and just add a simple submit button ) ?
And which tacos version are you using?
Danny Mandel wrote:
Hi Andreas. So, it will work in production no problem because I use
Tomcat and I can set the serverName and serverPort to return values
that match the fronting proxy server so the domain and port will be
the same.
In development, however, I'm using JettyLauncher which doesn't appear
to have that capability, so I'm currently mucking around in the
internals of Tacos and Tapestry to try and hardcode the ajax url
during development (or override the proper Tapestry configuration
point if it exists).
Danny
Andreas Andreou wrote:
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
-------------------------------------------------------
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
-------------------------------------------------------
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