Unfortunately, using the factory alone didn't help because we needed to add
the ResourceBuindles into the TextProviderInstance
On Fri, Jul 14, 2017 at 6:16 AM, Lukasz Lenart
wrote:
> 2017-07-14 14:36 GMT+02:00 Adam Brin :
> > I think I tried that originally without help.
>
> "without help" -> it
2017-07-14 14:36 GMT+02:00 Adam Brin :
> I think I tried that originally without help.
"without help" -> it didn't work?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@s
I think I tried that originally without help. Anyway, it seems like my fix
worked.
On Thu, Jul 13, 2017 at 10:41 PM, Lukasz Lenart
wrote:
> 2017-07-13 20:08 GMT+02:00 Adam Brin :
> > // FIXME: needs to be a better way to handle this
> > TextProviderFactory textProviderFactory = n
2017-07-13 20:08 GMT+02:00 Adam Brin :
> // FIXME: needs to be a better way to handle this
> TextProviderFactory textProviderFactory = new TextProviderFactory();
I think you can simple use StrutsTextProviderFactory instead - it
works exactly the same way.
Regards
--
Łukasz
+ 48
Figured this out:
Map contextMap = new HashMap();
contextMap.put(StrutsStatics.HTTP_REQUEST, getServletRequest());
ActionContext context = new ActionContext(contextMap);
context.setLocale(Locale.getDefault());
//
http://mail-archives.apache.org/mod_mbox/st
5 matches
Mail list logo