Re: Stuts 2 and Custom TextProvider

2009-07-29 Thread girishkamat
Hi, I know its been a almost an year since this thread was born. I joined nabble just today :) I came across the same issue yesterday. I had my message keys defined in my Action-validation.xml. I tried overloading this method in my action public String getText(String textName, String de

Re: Stuts 2 and Custom TextProvider

2008-07-31 Thread ayavorskiy
Yes, I tried this. Unfortunately, the minute I include below in struts.xml Struts complains on startup that bean with the same name has already been defined. Additionally, stepping through struts validation code, I can see that it is not even using this "bean" definition, but instead, proceeds

Re: Stuts 2 and Custom TextProvider

2008-07-31 Thread stanlick
Did you substitute your custom provider in the xml declaration? The default from struts-default.xml is: so you will need to plug your implementation. Peace, Scott ayavorskiy wrote: > > Hi, > Is there a way to substitute default, bundle-based TextProvider in Struts > 2 with a custom