2012/10/19 Davis, Chad chad.da...@emc.com:
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 chad.da...@emc.com:
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
2012/10/22 Davis, Chad chad.da...@emc.com:
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/
PM
To: Struts Users Mailing List
Subject: Re: implementaiton advise on custom TextProvider
2012/10/18 Davis, Chad chad.da...@emc.com:
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
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 TextProvider is
2012/10/18 Davis, Chad chad.da...@emc.com:
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/
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 it.
2012/10/18 Davis, Chad chad.da...@emc.com:
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
Do you have the:
constant name=struts.objectFactory value=spring/
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
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 some
Spring MVC might be a consideration! (wink)
On Oct 16, 2012 1:26 PM, Davis, Chad chad.da...@emc.com 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
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
2012/10/16 Davis, Chad chad.da...@emc.com:
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
2012/10/15 Davis, Chad chad.da...@emc.com:
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
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 it
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 bean 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 bean in Struts use the Spring Bean ID instead of using
the full class name. Struts will use that Spring Bean in place
With the Spring Plugin, Spring becomes the framework's internal DI.
(*Chris*)
On Mon, Oct 15, 2012 at 8:43 AM, Davis, Chad chad.da...@emc.com 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
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 bean in Struts use the Spring Bean ID instead of using
the full class name. Struts will use that Spring Bean in place
Do you have the:
constant name=struts.objectFactory value=spring/
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 chad.da...@emc.com wrote:
If you are using the Spring Framework with your App, you should be
2012/10/4 Davis, Chad chad.da...@emc.com:
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
21 matches
Mail list logo