You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Leonard Broman <fi...@gmail.com> on 2008/10/28 15:14:13 UTC

Re: [S2] Result definitions are not overridden on subtyping using codebehind

I created an issue for this: https://issues.apache.org/struts/browse/WW-2854

But I have only tested on 2.0.11.2 and I'm on a tight schedule right
now. Would be good if someone could test it on the later versions as
well...

2008/10/28 Don Brown <do...@gmail.com>:
> I'd go with bug.  Please file a JIRA ticket at http://issues.apache.org/struts
>
> Thanks,
>
> Don
>
> On Tue, Oct 28, 2008 at 11:16 PM, Leonard Broman <fi...@gmail.com> wrote:
>> I am using 2.0.11.2. When I am inheriting action, the codebehind
>> plugin is not overriding the definition for the supertype.
>>
>> Example:
>>
>> @Result(value="foo.jsp")
>> public class FooAction ...
>>
>> @Result(value="bar.jsp")
>> public class BarAction extends FooAction
>>
>> Then exeuting bar.action renders foo.jsp anyway. Is this a feature or a bug?
>>
>> Leonard Broman
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org