RE: Re : Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Martin Gainty
nm: a long hot summer day is thankfully over Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um ei

Re: Re : Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Musachy Barroso
On Fri, Aug 14, 2009 at 4:31 PM, Martin Gainty wrote: > sounds expensive..will they take cc? What in Apollo's holy name are you talking about? musachy -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscr

RE: Re : Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Martin Gainty
sounds expensive..will they take cc? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mittei

Re: Re : Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Musachy Barroso
You need to fax an iCLA: http://www.apache.org/licenses/icla.txt and then someone can grant you access to the wiki. musachy On Fri, Aug 14, 2009 at 3:46 PM, Julien HENRY wrote: > I tried to edit the FAQ but I'm not allowed to do so. > > http://struts.apache.org/2.x/docs/faqs.html > > > > > >

Re : Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Julien HENRY
I tried to edit the FAQ but I'm not allowed to do so. http://struts.apache.org/2.x/docs/faqs.html De : Musachy Barroso À : Struts Users Mailing List Envoyé le : Samedi, 15 Août 2009, 0h39mn 27s Objet : Re: Re : Re : Re : Struts2 + I18N This would make a goo

Re: Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Musachy Barroso
This would make a good FAQ if it is not there already. On Fri, Aug 14, 2009 at 3:25 PM, Julien HENRY wrote: > Very, very hackish... but I like it ;) > > Thanks for this very good trick. > > > > > > De : Chris Pratt > À : Struts Users Mailing List > Envoyé le : Sa

Re : Re : Re : Struts2 + I18N

2009-08-14 Thread Julien HENRY
Very, very hackish... but I like it ;) Thanks for this very good trick. De : Chris Pratt À : Struts Users Mailing List Envoyé le : Samedi, 15 Août 2009, 0h13mn 19s Objet : Re: Re : Re : Struts2 + I18N One trick I've used in the past is to put an empty (usual

Re: Struts2 + I18N

2009-08-14 Thread Dale Newfield
Chris Pratt wrote: One trick I've used in the past is to put an empty (usually containing a comment saying to look in default.properties) default_en.properties file in the application. Since all entries roll up to the default.properties anyway, if the bundle loader finds the empty file, he gets

Re: Re : Re : Struts2 + I18N

2009-08-14 Thread Chris Pratt
One trick I've used in the past is to put an empty (usually containing a comment saying to look in default.properties) default_en.properties file in the application. Since all entries roll up to the default.properties anyway, if the bundle loader finds the empty file, he gets all warm and fuzzy an

Re: Re : Re : Struts2 + I18N

2009-08-14 Thread Musachy Barroso
There is a major refactoring planned for xwork's I18n, this should probably be part of it. Rene you watching this? musachy On Fri, Aug 14, 2009 at 2:16 PM, Julien HENRY wrote: > After digging into Struts2 code, here is what I discovered: this bug is > simply caused by the normal behavior of getB

Re : Re : Struts2 + I18N

2009-08-14 Thread Julien HENRY
After digging into Struts2 code, here is what I discovered: this bug is simply caused by the normal behavior of getBundle (http://java.sun.com/j2se/1.4.2/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String,%20java.util.Locale,%20java.lang.ClassLoader)) Here is the explanation In m

JSON Plugin

2009-08-14 Thread Musachy Barroso
FYI the JSON Plugin(http://code.google.com/p/jsonplugin/) is now part of Struts and will be released in 2.1.8. The code at Google Code will not be maintained any more. Applications using this plugin should continue to work as is, by just replacing the plugin jar. The code is here: http://svn.apach

Re: Problem trying to access page.

2009-08-14 Thread Musachy Barroso
Looks like you have duplicated jars in the classpath, or there is something is a problem with class loading (Spring getting loaded by a different classloader than the one that is loading the webapp, or something like that) musachy On Fri, Aug 14, 2009 at 8:05 AM, Bruno wrote: > Hey guys. > > We h

Re: Re : Struts2 + I18N

2009-08-14 Thread mailtolouis2020-struts
Not long ago, someone also got similar problem: http://markmail.org/message/mozukqgrnhfbq7od?q=s2+and+default+locale/language+list:org.apache.struts.users/ From: Julien HENRY To: Struts Users Mailing List Sent: Friday, August 14, 2009 4:52:28 PM Subject: Re :

LoggingInterceptor

2009-08-14 Thread Louis Voo
HI, I tried the LoggingInterceptor, it print 2009-08-14 16:26:02,062 INFO com.opensymphony.xwork2.interceptor.LoggingInterceptor.info:31 - Starting execution stack for action /louis/excludeParam/excludeParam Is it possible to print the actual class name like this? 2009-08-14 16:26:02,078 DEB

Using accept-language header as default language

2009-08-14 Thread Julien HENRY
Hi, Is there already something in Struts2 allowing to use accept-language header as a default language when an user first connect to my application? I think it could be an option of the I18N interceptor but I can't manage to find any information on that. Suggestion? Regards, Julien

Re : Struts2 + I18N

2009-08-14 Thread Julien HENRY
Hi, AFAIK this is the same as adding in struts.xml. BTW I tried your suggestion without much improvement. I even tried to rename default.properties in default_en.properties => still no english. De : BALAJI CRB À : Struts Users Mailing List Envoyé le : Ve

RE: Struts2 + I18N

2009-08-14 Thread BALAJI CRB
Hi, Use struts.locale=en in your struts.properties file. Hope this works. Regards, Balaji C R B -Original Message- From: Julien HENRY [mailto:henr...@yahoo.fr] Sent: Friday, August 14, 2009 9:11 PM To: user@struts.apache.org Subject: Struts2 + I18N Hi, In my Struts2 applicat

RE: Impossible to start two Struts 2 apps at the same time on Tomcat 6

2009-08-14 Thread David T. Webb
You need to set Tomcat for UCL (Unified Class Loading). Package your struts jar files in the WAR, and NOT in the Tomcat server classpath. I have apps running in the same container with different versions of struts. -- Sincerely, David Webb, President BrightMove, Inc. http://www.brightmove.com

Struts2 + I18N

2009-08-14 Thread Julien HENRY
Hi, In my Struts2 application I have the following language files: default_de.properties default_fr.properties default.properties (contains EN) When I start my application, the application is in French (probably because JVM default locale is french). Then I tried to change language by appending

Re: Impossible to start two Struts 2 apps at the same time on Tomcat 6

2009-08-14 Thread Wes Wannemacher
Just curious, where are the struts-*.jar files? I vaguely remember a classloader issue if you are trying to put the jars in one of Tomcat's shared jar folders. -Wes On Fri, Aug 14, 2009 at 11:00 AM, HENRY Pierre wrote: > Hi, > > I have 2 separate Struts 2 webapps, based both on Struts 2.1.6. > >

Re: Impossible to start two Struts 2 apps at the same time on Tomcat 6

2009-08-14 Thread Dave Newton
It doesn't seem like the logging is configured correctly, though. I'd set /all/ logging to debug for now; we've got multiple S2 apps running on Tomcat with no issues so I suspect it's something relatively simple to fix once it's found. Dave - Original Message > I have 2 separate Str

Problem trying to access page.

2009-08-14 Thread Bruno
Hey guys. We have changed WAS to WAS 64 bits version and we couldn't access any page. Follow the log exc for each time we tried to access it: Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect. InvocationTa

Impossible to start two Struts 2 apps at the same time on Tomcat 6

2009-08-14 Thread HENRY Pierre
Hi, I have 2 separate Struts 2 webapps, based both on Struts 2.1.6. Both webapps work fine when deployed separately on Tomcat 6.0.18. But when I deploy both at the same time on the same Tomcat, one is working (the first one alphabetically) and the seconds doesn’t start up, it gives me the infam

Re: Scope interceptor / Practical Apache Struts 2

2009-08-14 Thread spsarolkar
Hello Ian, I am facing the same problem. I tried adding dependency as selkin said as follows com.googlecode.struts2scopeplugin struts2-scope-plugin 1.0.3 But printing the same error Can you please supply me another copy of the code .

How to use workflow interceptor??

2009-08-14 Thread spsarolkar
Hello everyone, I want to write simple program using workflow interceptor where can i find information about workflow interceptor thanks -- View this message in context: http://www.nabble.com/How-to-use-workflow-interceptor---tp24970880p24970880.html Sent from the Struts - User mailing list arch

Re: struts2-ssl-plugin problem

2009-08-14 Thread Nuwan Chandrasoma
Louis Voo wrote: Hi, I download this plug-in and put into my /lib, and in my struts.xml has this when I start the tomcat, it throw error : Caused by: Unable to find interceptor class referenced by ref-name secureStack What else I need to configure to use this plug-in? Th

struts2-ssl-plugin problem

2009-08-14 Thread Louis Voo
Hi, I download this plug-in and put into my /lib, and in my struts.xml has this when I start the tomcat, it throw error : Caused by: Unable to find interceptor class referenced by ref-name secureStack What else I need to configure to use this plug-in? Thanks Louis

Re: Creating struts2 themes

2009-08-14 Thread mailtolouis2020-struts
http://www.packtpub.com/article/themes-and-templates-with-apache-struts2 From: spsarolkar To: user@struts.apache.org Sent: Friday, August 14, 2009 10:38:09 AM Subject: Creating struts2 themes I am learning struts2 and want to create custom themes. I am not ab

Creating struts2 themes

2009-08-14 Thread spsarolkar
I am learning struts2 and want to create custom themes. I am not able to find and documentation which tells how to create new themes. Can somebody tell me the link to the documentation where theme creation is explained step by step. Thanks in advance..:-) -- View this message in context: http:/