Re: problems with struts and dojo

2009-03-30 Thread Tedy Marcos Colombini
Hi, I changed the dojo.xhrGet call for a dojo.io.bind call as suggested by Andras and now it works. Please find the corrected code below. <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> function submitForm(formId, divId) {

Re: problems with struts and dojo

2009-03-27 Thread Andras Balogh
Hi, The problem is most probably that dojo.xhrGet is not available in the dojo version that comes with Struts 2.0.x ( dojo 0.4) You must make sure to use only dojo functions that are avail. in ver. 0.4. See here more details: http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/w

problems with struts and dojo

2009-03-27 Thread Tedy Marcos Colombini
Hi guys, sorry for the previous email. I pressed some shortcut by accident. I am trying to generate an ajax request with javascript. The code is very simple but it doesn't work. The message I get is: dojo.xhrGet is not a function (in Firefox error console). With a and , I am able to generate a r