From issueskelly04@example.net Sun Apr 01 14:38:16 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 55608 invoked from network); 1 Apr 2007 14:38:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2007 14:38:15 -0000 Received: (qmail 37304 invoked by uid 500); 1 Apr 2007 14:38:22 -0000 Delivered-To: kelly04@example.net Received: (qmail 36765 invoked by uid 500); 1 Apr 2007 14:38:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 36755 invoked by uid 99); 1 Apr 2007 14:38:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 07:38:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 07:38:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9862A714068 for <kelly04@example.net>; Sun, 1 Apr 2007 07:37:52 -0700 (PDT) Message-ID: <3558276.1175438272621.JavaMail.jira@brutus> Date: Sun, 1 Apr 2007 07:37:52 -0700 (PDT) From: "Vlad (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1560) Create test pages to excercise tags and benchmark performance In-Reply-To: <5535438.1166017078316.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40726 ] Vlad commented on WW-1560: -------------------------- As promised, test application which compares performance of different approaches to reusable UI components. It contains several Jsp Tag classes in src directory, different templates in web/template directory and test page: web/perf.jsp. In response to: http://forums.opensymphony.com/message.jspa?messageID=135489#135489 The application was built for WebWork, but probably could be easily ported to struts2. > Create test pages to excercise tags and benchmark performance > ------------------------------------------------------------- > > Key: WW-1560 > URL: https://issues.apache.org/struts/browse/WW-1560 > Project: Struts 2 > Issue Type: Task > Reporter: Ted Husted > Priority: Minor > Fix For: 2.0.8 > > > To track improvements in page rendering performance, we should create an application with a set of test JSP pages that exercise the core tags most applications use. The pages should be available for S2 , S1 and JSF. The set should include a page from an example provided by each of the target frameworks and ported to the other frameworks for comparison. (So all three frameworks would exercise their own version of all three pages.) The tests should focus on page rendering and manufacture whatever data a page needs on the server-side. > Once the initial set is available, additional pages could be added from other frameworks, to broaden the comparison. > See also: > OGNL performance detrimental to Struts 2 > http://kelly04@example.net/msg26364.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Sun Apr 01 14:40:14 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 55838 invoked from network); 1 Apr 2007 14:40:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2007 14:40:13 -0000 Received: (qmail 38853 invoked by uid 500); 1 Apr 2007 14:40:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 38823 invoked by uid 500); 1 Apr 2007 14:40:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 38814 invoked by uid 99); 1 Apr 2007 14:40:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 07:40:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 07:40:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 804EF714068 for <kelly04@example.net>; Sun, 1 Apr 2007 07:39:51 -0700 (PDT) Message-ID: <18608416.1175438391521.JavaMail.jira@brutus> Date: Sun, 1 Apr 2007 07:39:51 -0700 (PDT) From: "Vlad (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Updated: (WW-1560) Create test pages to excercise tags and benchmark performance In-Reply-To: <5535438.1166017078316.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vlad updated WW-1560: --------------------- Attachment: ww-perf.zip As promised, test application which compares performance of different approaches to reusable UI components. It contains several Jsp Tag classes in src directory, different templates in web/template directory and test page: web/perf.jsp. In response to: http://forums.opensymphony.com/message.jspa?messageID=135489#135489 The application was built for WebWork, but probably could be easily ported to struts2. > Create test pages to excercise tags and benchmark performance > ------------------------------------------------------------- > > Key: WW-1560 > URL: https://issues.apache.org/struts/browse/WW-1560 > Project: Struts 2 > Issue Type: Task > Reporter: Ted Husted > Priority: Minor > Fix For: 2.0.8 > > Attachments: ww-perf.zip > > > To track improvements in page rendering performance, we should create an application with a set of test JSP pages that exercise the core tags most applications use. The pages should be available for S2 , S1 and JSF. The set should include a page from an example provided by each of the target frameworks and ported to the other frameworks for comparison. (So all three frameworks would exercise their own version of all three pages.) The tests should focus on page rendering and manufacture whatever data a page needs on the server-side. > Once the initial set is available, additional pages could be added from other frameworks, to broaden the comparison. > See also: > OGNL performance detrimental to Struts 2 > http://kelly04@example.net/msg26364.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Sun Apr 01 15:04:14 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 61770 invoked from network); 1 Apr 2007 15:04:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2007 15:04:13 -0000 Received: (qmail 65901 invoked by uid 500); 1 Apr 2007 15:04:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 65866 invoked by uid 500); 1 Apr 2007 15:04:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 65856 invoked by uid 99); 1 Apr 2007 15:04:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 08:04:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 08:04:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 48068714068 for <kelly04@example.net>; Sun, 1 Apr 2007 08:03:51 -0700 (PDT) Message-ID: <201063.1175439831292.JavaMail.jira@brutus> Date: Sun, 1 Apr 2007 08:03:51 -0700 (PDT) From: "Anderson M. C. de Souza (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Created: (WW-1866) Add annotation support for Action Method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Add annotation support for Action Method ---------------------------------------- Key: WW-1866 URL: https://issues.apache.org/struts/browse/WW-1866 Project: Struts 2 Issue Type: Improvement Components: Configuration Affects Versions: 2.0.6 Reporter: Anderson M. C. de Souza Annotation support for action methods would be a very nice feature to have. I know it's not a basic configuration cenario, but I think it would help a lot "use case" based applications, which many times use one class per use case to handle actions. Thanks, Anderson Souza -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Mon Apr 02 05:37:16 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 66155 invoked from network); 2 Apr 2007 05:37:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 05:37:15 -0000 Received: (qmail 29027 invoked by uid 500); 2 Apr 2007 05:37:21 -0000 Delivered-To: kelly04@example.net Received: (qmail 28624 invoked by uid 500); 2 Apr 2007 05:37:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 28615 invoked by uid 99); 2 Apr 2007 05:37:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 22:37:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 22:37:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id A1C66714069 for <kelly04@example.net>; Sun, 1 Apr 2007 22:36:51 -0700 (PDT) Message-ID: <12803393.1175492211653.JavaMail.jira@brutus> Date: Sun, 1 Apr 2007 22:36:51 -0700 (PDT) From: "Tapio Holopainen (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40728 ] Tapio Holopainen commented on WW-1839: -------------------------------------- Any progress on this issue? > Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work > ---------------------------------------------------------------------- > > Key: WW-1839 > URL: https://issues.apache.org/struts/browse/WW-1839 > Project: Struts 2 > Issue Type: Bug > Components: API, Examples, Views > Affects Versions: 2.0.6 > Environment: Websphere 6.1 > Reporter: Tapio Holopainen > Assigned To: Musachy Barroso > Priority: Critical > > I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log. > > <script language="JavaScript" type="text/javascript"> > // Dojo configuration > djConfig = { > baseRelativePath: "/S2Show/struts/dojo", > isDebug: false, > bindEncoding: "UTF-8", > debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes > }; > </script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/dojo/dojo.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/simple/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/ajax/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/CommonFunctions.js"></script> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Mon Apr 02 12:20:16 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 87257 invoked from network); 2 Apr 2007 12:20:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 12:20:14 -0000 Received: (qmail 71642 invoked by uid 500); 2 Apr 2007 12:20:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 71604 invoked by uid 500); 2 Apr 2007 12:20:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 71591 invoked by uid 99); 2 Apr 2007 12:20:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 05:20:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 05:20:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 5A71871403D for <kelly04@example.net>; Mon, 2 Apr 2007 05:19:51 -0700 (PDT) Message-ID: <20472141.1175516391362.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 05:19:51 -0700 (PDT) From: "Musachy Barroso (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Created: (WW-1867) onchange is not getting called when value changes in datetimepicker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org onchange is not getting called when value changes in datetimepicker ------------------------------------------------------------------- Key: WW-1867 URL: https://issues.apache.org/struts/browse/WW-1867 Project: Struts 2 Issue Type: Bug Affects Versions: 2.0.7 Reporter: Musachy Barroso Assigned To: Musachy Barroso Fix For: 2.0.8 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Mon Apr 02 12:26:17 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 89755 invoked from network); 2 Apr 2007 12:26:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 12:26:15 -0000 Received: (qmail 85291 invoked by uid 500); 2 Apr 2007 12:26:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 85249 invoked by uid 500); 2 Apr 2007 12:26:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 85234 invoked by uid 99); 2 Apr 2007 12:26:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 05:26:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 05:26:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 8B43F714068 for <kelly04@example.net>; Mon, 2 Apr 2007 05:25:51 -0700 (PDT) Message-ID: <28830810.1175516751563.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 05:25:51 -0700 (PDT) From: "Musachy Barroso (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40731 ] Musachy Barroso commented on WW-1839: ------------------------------------- I haven't had time to look at this, and I'm not a websphere user :(. Did you try setting debug="true" on the head tag to see if Dojo is logging any error? I don't remember if I suggested this already > Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work > ---------------------------------------------------------------------- > > Key: WW-1839 > URL: https://issues.apache.org/struts/browse/WW-1839 > Project: Struts 2 > Issue Type: Bug > Components: API, Examples, Views > Affects Versions: 2.0.6 > Environment: Websphere 6.1 > Reporter: Tapio Holopainen > Assigned To: Musachy Barroso > Priority: Critical > > I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log. > > <script language="JavaScript" type="text/javascript"> > // Dojo configuration > djConfig = { > baseRelativePath: "/S2Show/struts/dojo", > isDebug: false, > bindEncoding: "UTF-8", > debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes > }; > </script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/dojo/dojo.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/simple/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/ajax/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/CommonFunctions.js"></script> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Mon Apr 02 19:13:21 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 61523 invoked from network); 2 Apr 2007 19:13:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 19:13:20 -0000 Received: (qmail 25258 invoked by uid 500); 2 Apr 2007 19:13:25 -0000 Delivered-To: kelly04@example.net Received: (qmail 25213 invoked by uid 500); 2 Apr 2007 19:13:25 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 25204 invoked by uid 99); 2 Apr 2007 19:13:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 12:13:25 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 12:13:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 473BF714066 for <kelly04@example.net>; Mon, 2 Apr 2007 12:12:52 -0700 (PDT) Message-ID: <1813754.1175541172287.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 12:12:52 -0700 (PDT) From: "Rich Thornett (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Created: (WW-1868) Struts 2 validation testing fails because ObjectFactory is null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Struts 2 validation testing fails because ObjectFactory is null --------------------------------------------------------------- Key: WW-1868 URL: https://issues.apache.org/struts/browse/WW-1868 Project: Struts 2 Issue Type: Bug Affects Versions: 2.0.6 Reporter: Rich Thornett Recenly upgraded from Struts 2.0.1 to Struts 2.0.6 and my unit tests of Struts2 validation now fail. Unit tests followed the pattern described here: http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html The issue has been noticed by others and is described in more detail here: http://www.nabble.com/Struts-2-and-Validation-Testing-t3451623.html Core problem seems to be that ObjectFactory is not getting set by the time it is referenced in ValidatorFileParser.parseValidatorDefinitions() // xwork-2.0.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Mon Apr 02 19:59:16 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 92801 invoked from network); 2 Apr 2007 19:59:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 19:59:14 -0000 Received: (qmail 7960 invoked by uid 500); 2 Apr 2007 19:59:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 7911 invoked by uid 500); 2 Apr 2007 19:59:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 7902 invoked by uid 99); 2 Apr 2007 19:59:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 12:59:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 12:59:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id BB04A714066 for <kelly04@example.net>; Mon, 2 Apr 2007 12:58:51 -0700 (PDT) Message-ID: <19070591.1175543931743.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 12:58:51 -0700 (PDT) From: "Joe Germuska (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (STR-487) Multiple file upload not possible due to MultiPartRequestHandler limitation? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-487?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel#action_40732 ]=20 Joe Germuska commented on STR-487: ---------------------------------- Patch applied in r524895 on the STRUTS_1_3_BRANCH -- can anyone help me wit= h using SVN to merge that into head? Fix involved more or less applying Don's patch to CommonsMultipartRequestHa= ndler, but also a change to RequestUtils to deal with the case that an Acti= onForm is configured to accept multiple files but the client only uploads a= single. This feels kind of hacky but it appears to work. We were not abl= e to implement Don's patch as provided, and I couldn't authorize enough wor= k time to make all the changes to a test infrastructure to support unit tes= ting this, so alas, no unit test was created for this fix. This ticket can be closed as soon as the changes to CommonsMultipartRequest= Handler and RequestUtils are merged into the Struts 1 trunk -- as noted, I = need SVN help with that. > Multiple file upload not possible due to MultiPartRequestHandler limitati= on? > -------------------------------------------------------------------------= --- > > Key: STR-487 > URL: https://issues.apache.org/struts/browse/STR-487 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Marcel > Assigned To: Joe Germuska > Priority: Minor > Attachments: multiple-files.patch > > > File upload of a single file with Struts seems to work OK. But it fails f= or multiple files. Note: I=20 > mean 1 <INPUT TYPE=3D"FILE"> tag where the user selects *multiple* files = (Opera and IE allow this),=20 > not multiple <INPUT TYPE=3D"FILE"> tags! > The MultipartRequestHandler doesn't seem to=20 > support this, since it getFileElements() returns FormFiles in a hashtable= , and cannot=20 > therefore handle more than 1 FormFile for each input name.=20 > The only way around this is to put=20 > multiple INPUT tags on the page, which is a problem when I want to allow = the user to upload a lot of=20 > (small) files. > TIA > Marcel Mar=C3=A9 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 00:55:16 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 9570 invoked from network); 3 Apr 2007 00:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 00:55:15 -0000 Received: (qmail 76229 invoked by uid 500); 3 Apr 2007 00:55:22 -0000 Delivered-To: kelly04@example.net Received: (qmail 75680 invoked by uid 500); 3 Apr 2007 00:55:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 75671 invoked by uid 99); 3 Apr 2007 00:55:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 17:55:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 17:55:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 692DD714069 for <kelly04@example.net>; Mon, 2 Apr 2007 17:54:52 -0700 (PDT) Message-ID: <33355254.1175561692427.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 17:54:52 -0700 (PDT) From: "Antony Stubbs (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40733 ] Antony Stubbs commented on WW-1839: ----------------------------------- Mine doesn't work either (WebSphere 6.1), but I'm not sure if it's the same issue. I get "Error 404: SRVE0190E: File not found: /struts/simple/dojoRequire.js " appended to the bottom of each js file (the file-name matches the file requested in each case) and [3/04/07 12:25:25:187 NZST] 00000025 SRTServletRes W WARNING: Cannot set status. Response already committed. [3/04/07 12:25:25:250 NZST] 00000025 SRTServletRes W WARNING: Cannot set header. Response already committed. output to the logs when requesting any struts 2 page. It's really frustrating and I can't figure it out. Am I getting to responses for each request?? I'd turned off all my other filters. I made a struts2 thread about it here: http://www.nabble.com/-S2--Websphere-6.1-Showcase-application%2C-Response-already-committed-warning-in-logs-tf3468980.html#a9793011 Apparently another guy had the same problem, and he fixed it with his patch to https://issues.apache.org/struts/browse/WW-1526?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel but it didn't work for me. > Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work > ---------------------------------------------------------------------- > > Key: WW-1839 > URL: https://issues.apache.org/struts/browse/WW-1839 > Project: Struts 2 > Issue Type: Bug > Components: API, Examples, Views > Affects Versions: 2.0.6 > Environment: Websphere 6.1 > Reporter: Tapio Holopainen > Assigned To: Musachy Barroso > Priority: Critical > > I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log. > > <script language="JavaScript" type="text/javascript"> > // Dojo configuration > djConfig = { > baseRelativePath: "/S2Show/struts/dojo", > isDebug: false, > bindEncoding: "UTF-8", > debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes > }; > </script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/dojo/dojo.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/simple/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/ajax/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/CommonFunctions.js"></script> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 02:25:17 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 37062 invoked from network); 3 Apr 2007 02:25:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 02:25:15 -0000 Received: (qmail 81217 invoked by uid 500); 3 Apr 2007 02:25:20 -0000 Delivered-To: kelly04@example.net Received: (qmail 80978 invoked by uid 500); 3 Apr 2007 02:25:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 80965 invoked by uid 99); 3 Apr 2007 02:25:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 19:25:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 19:25:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9017671406C for <kelly04@example.net>; Mon, 2 Apr 2007 19:24:51 -0700 (PDT) Message-ID: <30008990.1175567091586.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 19:24:51 -0700 (PDT) From: "Paul Benedict (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Updated: (STR-487) Multiple file upload not possible due to MultiPartRequestHandler limitation? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-487?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Benedict updated STR-487: ------------------------------ Affects Version/s: 1.3.8 Fix Version/s: 1.4.0 1.3.9 Joe, why not just check it also into HEAD? Nothing major has gone into 1.4 = so it would be easy. Also Henri did the last merge so he's your go-to guy f= or such a thing. > Multiple file upload not possible due to MultiPartRequestHandler limitati= on? > -------------------------------------------------------------------------= --- > > Key: STR-487 > URL: https://issues.apache.org/struts/browse/STR-487 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: 1.3.8, Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Marcel > Assigned To: Joe Germuska > Priority: Minor > Fix For: 1.3.9, 1.4.0 > > Attachments: multiple-files.patch > > > File upload of a single file with Struts seems to work OK. But it fails f= or multiple files. Note: I=20 > mean 1 <INPUT TYPE=3D"FILE"> tag where the user selects *multiple* files = (Opera and IE allow this),=20 > not multiple <INPUT TYPE=3D"FILE"> tags! > The MultipartRequestHandler doesn't seem to=20 > support this, since it getFileElements() returns FormFiles in a hashtable= , and cannot=20 > therefore handle more than 1 FormFile for each input name.=20 > The only way around this is to put=20 > multiple INPUT tags on the page, which is a problem when I want to allow = the user to upload a lot of=20 > (small) files. > TIA > Marcel Mar=C3=A9 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 05:23:15 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 86684 invoked from network); 3 Apr 2007 05:23:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 05:23:14 -0000 Received: (qmail 74058 invoked by uid 500); 3 Apr 2007 05:23:20 -0000 Delivered-To: kelly04@example.net Received: (qmail 74013 invoked by uid 500); 3 Apr 2007 05:23:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 74004 invoked by uid 99); 3 Apr 2007 05:23:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 22:23:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 22:23:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id C38D6714069 for <kelly04@example.net>; Mon, 2 Apr 2007 22:22:51 -0700 (PDT) Message-ID: <27853876.1175577771794.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 22:22:51 -0700 (PDT) From: "Tapio Holopainen (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40735 ] Tapio Holopainen commented on WW-1839: -------------------------------------- I believe that the patch doesn't fix this AJAX problem. > Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work > ---------------------------------------------------------------------- > > Key: WW-1839 > URL: https://issues.apache.org/struts/browse/WW-1839 > Project: Struts 2 > Issue Type: Bug > Components: API, Examples, Views > Affects Versions: 2.0.6 > Environment: Websphere 6.1 > Reporter: Tapio Holopainen > Assigned To: Musachy Barroso > Priority: Critical > > I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log. > > <script language="JavaScript" type="text/javascript"> > // Dojo configuration > djConfig = { > baseRelativePath: "/S2Show/struts/dojo", > isDebug: false, > bindEncoding: "UTF-8", > debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes > }; > </script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/dojo/dojo.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/simple/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/ajax/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/CommonFunctions.js"></script> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 09:38:17 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 93624 invoked from network); 3 Apr 2007 09:38:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 09:38:16 -0000 Received: (qmail 37927 invoked by uid 500); 3 Apr 2007 09:38:20 -0000 Delivered-To: kelly04@example.net Received: (qmail 37858 invoked by uid 500); 3 Apr 2007 09:38:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 37849 invoked by uid 99); 3 Apr 2007 09:38:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 02:38:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 02:38:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id A46B7714068 for <kelly04@example.net>; Tue, 3 Apr 2007 02:37:51 -0700 (PDT) Message-ID: <31446055.1175593071667.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 02:37:51 -0700 (PDT) From: "Antony Stubbs (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40736 ] Antony Stubbs commented on WW-1839: ----------------------------------- Ok, after installing Websphere 6.1 update pack (83.161.120.155-WS-WAS-IFPK33090), I know get a worse result. It seems that the struts2 filter isn't even being run? now *all* i get is "Error 404: SRVE0190E: File not found: /eventProfile.action" printed to the screen, and *nothing* in the logs. ugh. It appears as though Struts2 filter isn't even being invoked. I switched to Tapio's custom WebsphereFilterDispatcher and put some break points in there to catch execution, but it never breaks - it just very quickly puts up that msg. struts1 within the same project still works fine though, running the servlet *.do mapping. And just in case someone asks: <filter> <filter-name>struts2</filter-name><!-- <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> <init-param> <param-name>actionPackages</param-name> <param-value>com.fonterra.tams.actions.s2</param-value> </init-param> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> > Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work > ---------------------------------------------------------------------- > > Key: WW-1839 > URL: https://issues.apache.org/struts/browse/WW-1839 > Project: Struts 2 > Issue Type: Bug > Components: API, Examples, Views > Affects Versions: 2.0.6 > Environment: Websphere 6.1 > Reporter: Tapio Holopainen > Assigned To: Musachy Barroso > Priority: Critical > > I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log. > > <script language="JavaScript" type="text/javascript"> > // Dojo configuration > djConfig = { > baseRelativePath: "/S2Show/struts/dojo", > isDebug: false, > bindEncoding: "UTF-8", > debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes > }; > </script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/dojo/dojo.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/simple/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/ajax/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/CommonFunctions.js"></script> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 11:35:18 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 31122 invoked from network); 3 Apr 2007 11:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 11:35:16 -0000 Received: (qmail 1473 invoked by uid 500); 3 Apr 2007 11:35:22 -0000 Delivered-To: kelly04@example.net Received: (qmail 1106 invoked by uid 500); 3 Apr 2007 11:35:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 1097 invoked by uid 99); 3 Apr 2007 11:35:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 04:35:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 04:35:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 738B6714066 for <kelly04@example.net>; Tue, 3 Apr 2007 04:34:52 -0700 (PDT) Message-ID: <24904890.1175600092467.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 04:34:52 -0700 (PDT) From: "Manu Mahajan (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1813) Tree Tag's treeSelectedTopic attribute doesn't works In-Reply-To: <15987854.1173862432289.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40737 ] Manu Mahajan commented on WW-1813: ---------------------------------- I did a little investigation on this because I needed this to work for a project that I'm doing. Here's the result of my effort. I think this has broken due to a change in Dojo upstream. I downloaded the latest version of Dojo (0.4.2) and I went through some sample pages which used the tree widget. Here's what I found Code generated by Struts 2 taglib: <div dojoType="Tree" publishSelectionTopic="treeNodeSelected"> This does not work. Code in a dojo sample: <dojo:TreeSelector widgetId="treeSelector" eventNames="select:nodeSelected"></dojo:TreeSelector> <div dojoType="Tree" selector="treeSelector"> This seems to work fine. So it seems that dojo requires a <dojo:TreeSelector> widget to capture events from a Tree and selector parameter in the tree tag to connect the tree and the selector. To accomodate this I modified the struts code to add a new parameter to the <s:tree> tag called "treeSelector". I had to modify the following files 1. template/ajax/tree.ftl (for painting selector=" " in the resulting xhtml) 2. org/apache/struts2/components/Tree.class (added property treeSelector along with getter and setter) 3. org/apache/struts2/views/jsp/ui/TreeTag.class (added property treeSelector along with getter and setter) 4. META-INF/struts-tags.tld (modified tld to accept treeSelector as a parameter for the tree tag) I am posting the changed files for review. Now my jsp looks something like this <s:head debug="true" theme="ajax"/> <script language="JavaScript" type="text/javascript"> dojo.addOnLoad(function() { dojo.event.topic.subscribe("nodeSelected", function(message) { dojo.debug(message.node.title+" selected"); } ); }); </script> <dojo:TreeSelector widgetId="treeSelector" eventNames="select:nodeSelected"></dojo:TreeSelector> <s:tree theme = "ajax" rootNode="%{category}" childCollectionProperty="categoryList" nodeIdProperty="id" nodeTitleProperty="name" treeSelector="treeSelector"> </s:tree> This is working perfectly for me but I think the solution will be complete if we add a new <s:treeSelector> tag to the taglib. Hope this was useful. I'm posting something for the first time here so I do not know the best practices. Hope you don't mind. > Tree Tag's treeSelectedTopic attribute doesn't works > ---------------------------------------------------- > > Key: WW-1813 > URL: https://issues.apache.org/struts/browse/WW-1813 > Project: Struts 2 > Issue Type: Bug > Components: Views > Affects Versions: 2.0.6 > Environment: jdk1.5.0_08,apache-tomcat-5.5.20,struts2-showcase-2.0.6.war > Reporter: zhouyanming > Assigned To: Musachy Barroso > Fix For: 2.1.0 > > > in /tags/ui/treeExampleDynamic.jsp -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 11:43:24 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 34838 invoked from network); 3 Apr 2007 11:43:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 11:43:24 -0000 Received: (qmail 9704 invoked by uid 500); 3 Apr 2007 11:43:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 9670 invoked by uid 500); 3 Apr 2007 11:43:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 9659 invoked by uid 99); 3 Apr 2007 11:43:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 04:43:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 04:43:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 7A7D0714066 for <kelly04@example.net>; Tue, 3 Apr 2007 04:42:51 -0700 (PDT) Message-ID: <2368770.1175600571498.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 04:42:51 -0700 (PDT) From: "Manu Mahajan (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Updated: (WW-1813) Tree Tag's treeSelectedTopic attribute doesn't works In-Reply-To: <15987854.1173862432289.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manu Mahajan updated WW-1813: ----------------------------- Attachment: struts2 suggested patch for tree tag.zip Attaching files as mentioned in the following comment https://issues.apache.org/struts/browse/WW-1813#action_40737 > Tree Tag's treeSelectedTopic attribute doesn't works > ---------------------------------------------------- > > Key: WW-1813 > URL: https://issues.apache.org/struts/browse/WW-1813 > Project: Struts 2 > Issue Type: Bug > Components: Views > Affects Versions: 2.0.6 > Environment: jdk1.5.0_08,apache-tomcat-5.5.20,struts2-showcase-2.0.6.war > Reporter: zhouyanming > Assigned To: Musachy Barroso > Fix For: 2.1.0 > > Attachments: struts2 suggested patch for tree tag.zip > > > in /tags/ui/treeExampleDynamic.jsp -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 12:18:17 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 47562 invoked from network); 3 Apr 2007 12:18:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 12:18:16 -0000 Received: (qmail 78133 invoked by uid 500); 3 Apr 2007 12:18:21 -0000 Delivered-To: kelly04@example.net Received: (qmail 78092 invoked by uid 500); 3 Apr 2007 12:18:21 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 78082 invoked by uid 99); 3 Apr 2007 12:18:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 05:18:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 05:18:13 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id B361171406D for <kelly04@example.net>; Tue, 3 Apr 2007 05:17:52 -0700 (PDT) Message-ID: <4707283.1175602672712.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 05:17:52 -0700 (PDT) From: "Musachy Barroso (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1813) Tree Tag's treeSelectedTopic attribute doesn't works In-Reply-To: <15987854.1173862432289.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40739 ] Musachy Barroso commented on WW-1813: ------------------------------------- Thanks for the research and the patch! > Tree Tag's treeSelectedTopic attribute doesn't works > ---------------------------------------------------- > > Key: WW-1813 > URL: https://issues.apache.org/struts/browse/WW-1813 > Project: Struts 2 > Issue Type: Bug > Components: Views > Affects Versions: 2.0.6 > Environment: jdk1.5.0_08,apache-tomcat-5.5.20,struts2-showcase-2.0.6.war > Reporter: zhouyanming > Assigned To: Musachy Barroso > Fix For: 2.1.0 > > Attachments: struts2 suggested patch for tree tag.zip > > > in /tags/ui/treeExampleDynamic.jsp -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 16:20:17 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 60010 invoked from network); 3 Apr 2007 16:20:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 16:20:17 -0000 Received: (qmail 22297 invoked by uid 500); 3 Apr 2007 16:20:21 -0000 Delivered-To: kelly04@example.net Received: (qmail 22259 invoked by uid 500); 3 Apr 2007 16:20:21 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 22129 invoked by uid 99); 3 Apr 2007 16:20:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 09:20:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 09:20:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 5B5D6714066 for <kelly04@example.net>; Tue, 3 Apr 2007 09:19:52 -0700 (PDT) Message-ID: <5874194.1175617192370.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 09:19:52 -0700 (PDT) From: "Henri Yandell (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (STR-487) Multiple file upload not possible due to MultiPartRequestHandler limitation? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-487?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel#action_40740 ]=20 Henri Yandell commented on STR-487: ----------------------------------- Maybe we should wait until 1.3.9 is released, then I'll merge 1.3.9 as a wh= ole into 1.4?=20 > Multiple file upload not possible due to MultiPartRequestHandler limitati= on? > -------------------------------------------------------------------------= --- > > Key: STR-487 > URL: https://issues.apache.org/struts/browse/STR-487 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: 1.3.8, Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Marcel > Assigned To: Joe Germuska > Priority: Minor > Fix For: 1.3.9, 1.4.0 > > Attachments: multiple-files.patch > > > File upload of a single file with Struts seems to work OK. But it fails f= or multiple files. Note: I=20 > mean 1 <INPUT TYPE=3D"FILE"> tag where the user selects *multiple* files = (Opera and IE allow this),=20 > not multiple <INPUT TYPE=3D"FILE"> tags! > The MultipartRequestHandler doesn't seem to=20 > support this, since it getFileElements() returns FormFiles in a hashtable= , and cannot=20 > therefore handle more than 1 FormFile for each input name.=20 > The only way around this is to put=20 > multiple INPUT tags on the page, which is a problem when I want to allow = the user to upload a lot of=20 > (small) files. > TIA > Marcel Mar=C3=A9 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 17:10:16 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 84682 invoked from network); 3 Apr 2007 17:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 17:10:15 -0000 Received: (qmail 37495 invoked by uid 500); 3 Apr 2007 17:10:20 -0000 Delivered-To: kelly04@example.net Received: (qmail 37461 invoked by uid 500); 3 Apr 2007 17:10:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 37452 invoked by uid 99); 3 Apr 2007 17:10:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 10:10:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 10:10:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 4FDDE714066 for <kelly04@example.net>; Tue, 3 Apr 2007 10:09:52 -0700 (PDT) Message-ID: <8220054.1175620192322.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 10:09:52 -0700 (PDT) From: "Joe Germuska (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (STR-487) Multiple file upload not possible due to MultiPartRequestHandler limitation? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-487?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel#action_40741 ]=20 Joe Germuska commented on STR-487: ---------------------------------- Waiting is ok, although I was hoping to learn how to do it (without stumbli= ng through the docs -- I tried a couple of things with no success.) =20 BTW, I forgot to give credit to David Durham, who got the ball rolling and = with whom I finished up the implementation. Thanks, Dave! > Multiple file upload not possible due to MultiPartRequestHandler limitati= on? > -------------------------------------------------------------------------= --- > > Key: STR-487 > URL: https://issues.apache.org/struts/browse/STR-487 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: 1.3.8, Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Marcel > Assigned To: Joe Germuska > Priority: Minor > Fix For: 1.3.9, 1.4.0 > > Attachments: multiple-files.patch > > > File upload of a single file with Struts seems to work OK. But it fails f= or multiple files. Note: I=20 > mean 1 <INPUT TYPE=3D"FILE"> tag where the user selects *multiple* files = (Opera and IE allow this),=20 > not multiple <INPUT TYPE=3D"FILE"> tags! > The MultipartRequestHandler doesn't seem to=20 > support this, since it getFileElements() returns FormFiles in a hashtable= , and cannot=20 > therefore handle more than 1 FormFile for each input name.=20 > The only way around this is to put=20 > multiple INPUT tags on the page, which is a problem when I want to allow = the user to upload a lot of=20 > (small) files. > TIA > Marcel Mar=C3=A9 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 19:21:15 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 29418 invoked from network); 3 Apr 2007 19:21:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 19:21:14 -0000 Received: (qmail 7012 invoked by uid 500); 3 Apr 2007 19:21:19 -0000 Delivered-To: kelly04@example.net Received: (qmail 6971 invoked by uid 500); 3 Apr 2007 19:21:19 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 6962 invoked by uid 99); 3 Apr 2007 19:21:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 12:21:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 12:21:11 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 513A1714065 for <kelly04@example.net>; Tue, 3 Apr 2007 12:20:51 -0700 (PDT) Message-ID: <16931944.1175628051329.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 12:20:51 -0700 (PDT) From: "Musachy Barroso (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Created: (WW-1869) Dojo fails to parse paths with "!" in ContentPane MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dojo fails to parse paths with "!" in ContentPane ------------------------------------------------- Key: WW-1869 URL: https://issues.apache.org/struts/browse/WW-1869 Project: Struts 2 Issue Type: Bug Affects Versions: 2.0.7 Reporter: Musachy Barroso Assigned To: Musachy Barroso Fix For: 2.0.8 Index: C:/etc/struts/2_1/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js =================================================================== --- C:/etc/struts/2_1/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js (revision 525238) +++ C:/etc/struts/2_1/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js (working copy) @@ -207,7 +207,7 @@ } if (this.adjustPaths) { var regexFindTag = /<[a-z][a-z0-9]*[^>]*\s(?:(?:src|href|style)=[^>])+[^>]*>/i; - var regexFindAttr = /\s(src|href|style)=(['"]?)([\w()\[\]\/.,\\'"-:;#=&?\s@]+?)\2/i; + var regexFindAttr = /\s(src|href|style)=(['"]?)([\w()\[\]\/.,\\'"-:;#=&?\s@!]+?)\2/i; var regexProtocols = /^(?:[#]|(?:(?:https?|ftps?|file|javascript|mailto|news):))/; while (tag = regexFindTag.exec(s)) { str += s.substring(0, tag.index); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 19:57:21 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 42047 invoked from network); 3 Apr 2007 19:57:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 19:57:19 -0000 Received: (qmail 84830 invoked by uid 500); 3 Apr 2007 19:57:20 -0000 Delivered-To: kelly04@example.net Received: (qmail 84767 invoked by uid 500); 3 Apr 2007 19:57:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 84749 invoked by uid 99); 3 Apr 2007 19:57:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 12:57:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 12:57:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id DD0CC714071 for <kelly04@example.net>; Tue, 3 Apr 2007 12:56:51 -0700 (PDT) Message-ID: <12035803.1175630211902.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 12:56:51 -0700 (PDT) From: "Musachy Barroso (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Updated: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Musachy Barroso updated WW-1839: -------------------------------- Assignee: (was: Musachy Barroso) > Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work > ---------------------------------------------------------------------- > > Key: WW-1839 > URL: https://issues.apache.org/struts/browse/WW-1839 > Project: Struts 2 > Issue Type: Bug > Components: API, Examples, Views > Affects Versions: 2.0.6 > Environment: Websphere 6.1 > Reporter: Tapio Holopainen > Priority: Critical > > I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log. > > <script language="JavaScript" type="text/javascript"> > // Dojo configuration > djConfig = { > baseRelativePath: "/S2Show/struts/dojo", > isDebug: false, > bindEncoding: "UTF-8", > debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes > }; > </script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/dojo/dojo.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/simple/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/ajax/dojoRequire.js"></script> > <script language="JavaScript" type="text/javascript" > src="/S2Show/struts/CommonFunctions.js"></script> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From issueskelly04@example.net Tue Apr 03 19:57:23 2007 Return-Path: <issueskelly04@example.net> Delivered-To: kelly04@example.net Received: (qmail 42066 invoked from network); 3 Apr 2007 19:57:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 19:57:19 -0000 Received: (qmail 84874 invoked by uid 500); 3 Apr 2007 19:57:20 -0000 Delivered-To: kelly04@example.net Received: (qmail 84769 invoked by uid 500); 3 Apr 2007 19:57:20 -0000 Mailing-List: contact kelly04@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kelly04@example.net> List-Unsubscribe: <mailto:kelly04@example.net> List-Post: <mailto:kelly04@example.net> List-Id: <issues.struts.apache.org> Reply-To: kelly04@example.net Delivered-To: mailing list kelly04@example.net Received: (qmail 84753 invoked by uid 99); 3 Apr 2007 19:57:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 12:57:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 12:57:12 -0700 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id AD35271406C for <kelly04@example.net>; Tue, 3 Apr 2007 12:56:51 -0700 (PDT) Message-ID: <32637634.1175630211705.JavaMail.jira@brutus> Date: Tue, 3 Apr 2007 12:56:51 -0700 (PDT) From: "Musachy Barroso (JIRA)" <kelly04@example.net> To: kelly04@example.net Subject: [jira] Commented: (WW-1839) Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work In-Reply-To: <23350702.1174636431420.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40742 ] Musachy Barroso commented on WW-1839: ------------------------------------- I assigned this issue to me thinking it was related to ajax, but it seems to be a problem loading static content (in which case ajax resources would not be loaded),
{'source': 'Apache Software Foundation Public Mail Archives'}