Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 96815 invoked from network); 10 Jan 2008 20:56:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 20:56:56 -0000 Received: (qmail 57033 invoked by uid 500); 10 Jan 2008 20:56:43 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 56996 invoked by uid 500); 10 Jan 2008 20:56:43 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 56985 invoked by uid 99); 10 Jan 2008 20:56:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 12:56:43 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thechrispratt@gmail.com designates 72.14.204.224 as permitted sender) Received: from [72.14.204.224] (HELO qb-out-0506.google.com) (72.14.204.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 20:56:18 +0000 Received: by qb-out-0506.google.com with SMTP id e11so79469qbe.15 for ; Thu, 10 Jan 2008 12:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=1ZClseQkQagF8evJd6usZEGAAlUmTvuOWqbddLBwcbM=; b=svNl3lMGnrO8qbzVpTP/RbbgwMghJrIDb36MBABbupE4EeN0S73nzhhJ8T6koNZ67j1Q0P5WI4yEOixnGr5oVmKTEPNDdzLjl5Z4sQOpqd3aJe566wyRDWKxDVHMDwFtCBJsUiA4xtdS3+tG+fu9Pv/bCvABYPOLXx09Iri8R4Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l2P0iw/bX0YRHEosxRCAL8j8rlBiNc20Z/fF+xUD+IFVshRvX6P/B5duK11ey0935wnyHunR+6GsMw5QFEDIa0X8nT2bSH1Tdl5LLaBwiAvHixSqX4IX9ydIRo8dt3W0QVFgjNTOwpwODWDlCiVsY2AsAcVCA3mxs7AvDgSPaMM= Received: by 10.65.230.9 with SMTP id h9mr5266248qbr.4.1199998582548; Thu, 10 Jan 2008 12:56:22 -0800 (PST) Received: by 10.64.125.6 with HTTP; Thu, 10 Jan 2008 12:56:22 -0800 (PST) Message-ID: <42db7f0a0801101256w21b70276ue01456f2e1b91d3c@mail.gmail.com> Date: Thu, 10 Jan 2008 12:56:22 -0800 From: "Chris Pratt" To: "Struts Developers List" Subject: Re: http://struts.apache.org/dtds/struts-2.0.dtd needs to be updated In-Reply-To: <14742757.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14742352.post@talk.nabble.com> <14742757.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org sets what class will be used when an tag doesn't include a class="" attribute. I use it to substitute my BaseAction for the default Action implementation, so that I can easily handle Authentication/Authorization without having to specify the class attribute on every action. Not the hugest win in the world, but it saves some typing on larger projects. (*Chris*) On Jan 10, 2008 12:08 PM, matt.payne wrote: > > > Never mind the "default-class-ref" is completely useless if there is not a > way to indicate that the actions should be constructed with this class > substituted. > > > With this setup. > > > > edit.vm > edit.vm > edit.vm > > > edit.vm > list > edit.vm > list.action > > > list > > > list > > > > > namespace="/example"> > > > > Despite org.ExampleAction having a list method, invoking > /example/list.action > > throws ---> > > com.opensymphony.xwork2.ActionSupport.list() > > RequestURI=/quartz/jobs/definition/list.action > Caused by: > > java.lang.NoSuchMethodException: > com.opensymphony.xwork2.ActionSupport.list() > > I expected my action would be substituted. I am assuming this this behavior > is broken is default-class-ref hasn't been well exercised in the wild. > > Still looking for a wildcard/template solution that would allow use of > packageName from the wildcard. > > Matt > -- > View this message in context: http://www.nabble.com/http%3A--struts.apache.org-dtds-struts-2.0.dtd-needs-to-be-updated-tp14742352p14742757.html > > Sent from the Struts - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org