2012/10/22 Davis, Chad :
> Because the framework components, such as ActionSupport, are intended to be
> extended, correct?
Correct :-)
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
> 2012/10/19 Davis, Chad :
> > Thanks man! I'll check it out this morning. I think the protected seems
> > like
> a great idea. It's an interesting question, whether to make such things
> protected or private.
>
> When this is a part of framework it should be protected. In apps mostly no ;
2012/10/19 Davis, Chad :
> Thanks man! I'll check it out this morning. I think the protected seems
> like a great idea. It's an interesting question, whether to make such things
> protected or private.
When this is a part of framework it should be protected. In apps mostly no ;-)
Regards
--
October 18, 2012 11:59 PM
> To: Struts Users Mailing List
> Subject: Re: implementaiton advise on custom TextProvider
>
> 2012/10/18 Davis, Chad :
> >
> >> Of course, and I'd even be happy to do the work. Perhaps you can
> >> advise me on a plan?
> &g
2012/10/18 Davis, Chad :
>
>> Of course, and I'd even be happy to do the work. Perhaps you can advise
>> me on a plan?
>>
>> Everything is ready, I'm just waiting for you to register the issue ;-)
>>
>
> I created the ticket. Let me know if the ticket conforms with struts2
> standards for ticket
> Of course, and I'd even be happy to do the work. Perhaps you can advise
> me on a plan?
>
> Everything is ready, I'm just waiting for you to register the issue ;-)
>
I created the ticket. Let me know if the ticket conforms with struts2
standards for ticket submission; I'll be happy to edit
2012/10/18 Davis, Chad :
> Of course, and I'd even be happy to do the work. Perhaps you can advise me
> on a plan?
Everything is ready, I'm just waiting for you to register the issue ;-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
> >> But when I start the app I get the following error, thrown when the
> >> framework tries to create the text provider bean. It seems like the
> >> framework isn't recognizing that I'm referencing a spring bean with
> >> the class attribute . . .
> >>
> >
> > So, I have figured this out. The
2012/10/15 Davis, Chad :
> I'm not sure I follow you. Just for clarity, let me restate my problem. I
> have written a custom extension of TextProviderSupport. I want to have it
> injected as the framework's default TextProvider. I have achieved this by
> configuring it in struts.xml, declarin
2012/10/16 Davis, Chad :
>>
>> Okay. I'm following this path. I've got the Spring Plugin in place. And
>> it's
>> working. I verified it by autowiring a trivial spring bean into one of my
>> actions. But when I try to create my custom textprovider and then have it
>> used as the framework def
> Spring MVC might be a consideration! (wink) On Oct 16, 2012 1:26 PM,
I heard it has a pretty good integration with the whole Spring ecosystem.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comman
Spring MVC might be a consideration! (wink)
On Oct 16, 2012 1:26 PM, "Davis, Chad" wrote:
> >
> > Okay. I'm following this path. I've got the Spring Plugin in place.
> And it's
> > working. I verified it by autowiring a trivial spring bean into one of
> my
> > actions. But when I try to crea
>
> Okay. I'm following this path. I've got the Spring Plugin in place. And
> it's
> working. I verified it by autowiring a trivial spring bean into one of my
> actions. But when I try to create my custom textprovider and then have it
> used as the framework default text provider I'm getting
> Do you have the:
>
>
>
> constant defined in your struts.xml? That should be all that's needed.
> (*Chris*)
I don't but . . . isn't that in the plugin.xml? And isn't the fact that I was
able to autowire an action with a spring bean proof that the spring object
factory is being used a
Do you have the:
constant defined in your struts.xml? That should be all that's needed.
(*Chris*)
On Mon, Oct 15, 2012 at 2:53 PM, Davis, Chad wrote:
>
>
> > If you are using the Spring Framework with your App, you should be able
> to
> > define your TextProvider, with all it's dependenc
> If you are using the Spring Framework with your App, you should be able to
> define your TextProvider, with all it's dependencies, as a Spring Bean, then
> when you define the in Struts use the Spring Bean ID instead of using
> the full class name. Struts will use that Spring Bean in place of
With the Spring Plugin, Spring becomes the framework's internal DI.
(*Chris*)
On Mon, Oct 15, 2012 at 8:43 AM, Davis, Chad wrote:
>
>
> > If you are using the Spring Framework with your App, you should be able
> to
> > define your TextProvider, with all it's dependencies, as a Spring Bean,
> t
> If you are using the Spring Framework with your App, you should be able to
> define your TextProvider, with all it's dependencies, as a Spring Bean, then
> when you define the in Struts use the Spring Bean ID instead of using
> the full class name. Struts will use that Spring Bean in place of
If you are using the Spring Framework with your App, you should be able to
define your TextProvider, with all it's dependencies, as a Spring Bean,
then when you define the in Struts use the Spring Bean ID instead of
using the full class name. Struts will use that Spring Bean in place of
creating
> > ActionSupport#getTextProviderSupport() uses the TextProviderFactory to
> obtain it's instance of a support object. Since it uses the di to inject
> this into
> the factory, my custom version is correctly injected. However, I need to
> initialize my custom support object with a resource that
2012/10/4 Davis, Chad :
> So, I want to have the framework use my own custom TextProvider. Since the
> framework uses DI to inject such things, I've been able to have my own custom
> TextProvider injected into the system. Now, I'm encountering some other
> issues related to how to correctly in
So, I want to have the framework use my own custom TextProvider. Since the
framework uses DI to inject such things, I've been able to have my own custom
TextProvider injected into the system. Now, I'm encountering some other issues
related to how to correctly initialize my custom provider.
Ac
22 matches
Mail list logo