Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 87147 invoked from network); 2 Jul 2007 17:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 17:30:37 -0000 Received: (qmail 29098 invoked by uid 500); 2 Jul 2007 17:30:29 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 29067 invoked by uid 500); 2 Jul 2007 17:30:29 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 29056 invoked by uid 99); 2 Jul 2007 17:30:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 10:30:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 10:30:24 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I5Piu-00024d-8K for user@struts.apache.org; Mon, 02 Jul 2007 10:30:04 -0700 Message-ID: <11398152.post@talk.nabble.com> Date: Mon, 2 Jul 2007 10:30:04 -0700 (PDT) From: Kenton To: user@struts.apache.org Subject: [S2] Do AJAX features work? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: giesen2@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Struts: 2.0.8 Browser: Firefox 2.0.0.4 App Server: Glassfish v2 beta 2 OS: Windows XP SP2 I'm trying to add some simple AJAX functionality to my Struts 2 application. I've copy/pasted a few snippets from the Struts 2 documentation. I've tried several variations on this: Test

This is a test page

Submit form

When I try this, I see the following in my browser: DEBUG: dojo.widget.Parse: error:TypeError: impl is not a constructor DEBUG: dojo.widget.Parse: error:TypeError: impl is not a constructor I also see this in the Firefox JavaScript error console: Error: uncaught exception: [Exception... "Object cannot be created in this context" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "http://localhost:8080/vgstats/struts/dojo/src/browser_debug.js Line: 168"] Anyone have any ideas? Also, I've tried to get some static web apps working with Dojo in hopes that I could better understand the Dojo library and possibly debug this. I've tried both the 0.4.3 and 0.9M2 releases and have had a variety of problems with both. Also, the online demos are broken and the documentation is exceptionally poor (grammar errors, many omissions, unprofessional writing). Can I use any of Struts 2 AJAX features with a JavaScript library other than Dojo? I have used Prototype/Scriptaculous in the past and it was extremely easy. I'd also be happy with YUI or any other alternative. -- View this message in context: http://www.nabble.com/-S2--Do-AJAX-features-work--tf4013653.html#a11398152 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org