Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
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

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Lukasz Lenart
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

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
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

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Lukasz Lenart
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

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
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

Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
Hi, With the removal of the TextProviderFactory and it’s replacement with beans, I can’t figure out how to properly setup our test environment (when testing Controllers that are autowired by spring. How do I inject a custom resourceBundle into the ActionContext or stack? I used to be able to

Localization for SiteMesh decorators

2011-01-28 Thread struts . rgm
Google to find the proper SiteMesh Plugin page, there is nothing mentioned about localization. I propose the following: * The link to the SiteMesh Plugin page should be fixed in the "localization.html" page. * The SiteMesh Plugin page should actually include a section on localiza

Re: S2 overriding a Localization property

2010-09-27 Thread Oscar
Hi to all, i have a doubt about Struts 2 encoding mechanism. I have a form with a textbox and i write special characters inside it, like this: hoá ñ When i submit and i print this value using a s:property i get this value: hoá ñ Why this happens? It has something to do with Struts 2 encoding

Re: S2 overriding a Localization property

2010-09-27 Thread Greg Lindholm
#x27;aura pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > >> Date: Fri, 24 Sep 2010 11:17:06 -0400

RE: S2 overriding a Localization property

2010-09-24 Thread Martin Gainty
importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 24 Sep 2010 11:17:06 -0400 > Subject: Re: S2 overriding a Localization property > F

Re: S2 overriding a Localization property

2010-09-24 Thread Greg Lindholm
properties file that's more specific there's no issue. Are > you looking for a different mechanism than that? > > Dave > > On Thu, Sep 23, 2010 at 5:02 PM, Greg Lindholm wrote: > >> How do you override a Localization property that is bundled in a >> ActionClass.

Re: S2 overriding a Localization property

2010-09-23 Thread Dave Newton
Provide a more-specific location--so as long as they can create a package- or class-level properties file that's more specific there's no issue. Are you looking for a different mechanism than that? Dave On Thu, Sep 23, 2010 at 5:02 PM, Greg Lindholm wrote: > How do you override a

S2 overriding a Localization property

2010-09-23 Thread Greg Lindholm
How do you override a Localization property that is bundled in a ActionClass.properties file? I'm planing on bundling up some common Action classes into a jar to be used by several projects. I plan on putting their properties in ActionClass.properties files that get bundled into the jar. I

Re: Issue with localization: Messages not picked up from properties file

2010-04-27 Thread Wes Wannemacher
Kartik, First off, your first mapping doesn't "forward" it dispatches to the login.jsp page. If the validation file you have created is picked up when the user hits that url, then you are going to see the validation errors. Second, in your form tag, I would remove the '.action' from the action att

Issue with localization: Messages not picked up from properties file

2010-04-21 Thread Kartik Kumar
Hi All, In my package structure, I have package.properties file with the following key value pair: username=User Name password=Password In my simple login page: the form elements are defined with a key look up.. My action xml mappings are given below. The first action is a

RE: Localization in struts 2

2009-12-09 Thread Muthu Velappan
rom larger group rather than specific individual. -Original Message- From: sarava...@elogic.co.in [mailto:sarava...@elogic.co.in] Sent: Thursday, December 10, 2009 10:34 AM To: muthu.velap...@aspiresys.com Subject: RE: Localization in struts 2 Hi Muthu, I would like to know ab

Re: Localization

2009-10-23 Thread Jiunn Haur Lim
I see. Thanks! On Fri, Oct 23, 2009 at 9:53 PM, Greg Lindholm wrote: > Each validator makes different properties available but it's a little bit of > detective work to figure out which ones are available.  I often find myself > browsing thru the source to figure this out. > > If you look at the d

Re: Localization

2009-10-23 Thread Greg Lindholm
Each validator makes different properties available but it's a little bit of detective work to figure out which ones are available. I often find myself browsing thru the source to figure this out. If you look at the doc for RequiredStringValidator [1] you will see is has a parameter fieldName. [

Localization

2009-10-23 Thread Jiunn Haur Lim
Hi! I am new to Struts 2 and would appreciate a little help here. >From the Struts2 tutorial (http://struts.apache.org/2.1.8/docs/localizing-output.html), I learnt that if I have the following messages in my resource bundle: requiredstring = ${getText(fieldName)} is required. password = Password

localization properties files working in WEB-INF/classes and not in WEB-INF/lib/NAME.jar

2009-10-13 Thread Ignacio de Córdoba
e jar file with the actions: /WEB-INF/lib/myActions.jar I name them package_LANGUAGE.properties The weird thing is that they do work in /WEB-INF/classes dir. Thanks for any ideas on what I might be missing, Ignacio -- View this message in context: http://www.nabble.com/localization-properties-

Re: Localization and Dates

2009-10-01 Thread Lukasz Lenart
2009/10/1 Robin Mannering : > It seems that the Date conversion provided by struts/xwork is not working in > this case as expected. > > I have no idea if this is a config issue or not. > > If nobody else can shed a light on this problem, I shall fall back to > defining date fields as String and fol

Re: Localization and Dates

2009-10-01 Thread Robin Mannering
te formats are mm/dd/, the action class makes the assumption that we are trying to refer to the 20th month of the year and so returns control to the input page with an accompanying error message. I know this is to do with localization, but I am at a loss as to the best practice for defining locale

Re: Localization and Dates

2009-09-30 Thread Greg Lindholm
akes the > assumption that we are trying to refer to the 20th month of the year and > so returns control to the input page with an accompanying error message. > > I know this is to do with localization, but I am at a loss as to the > best practice for defining locales so that struts knows how

Re: Localization and Dates

2009-09-30 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: Struts Users Mailing List > Sent: Wednesday, September 30, 2009 9:06:47 AM > Subject: Re: Localization and Dates > > - Original Message > > From: Robin Mannering > > To: Struts Users Mailing List >

Re: Localization and Dates

2009-09-30 Thread Tommy Pham
- Original Message > From: Robin Mannering > To: Struts Users Mailing List > Sent: Wednesday, September 30, 2009 2:18:58 AM > Subject: Localization and Dates > > Hello, > > Can anyone give me some 'best practice' advice for dealing with dates

Localization and Dates

2009-09-30 Thread Robin Mannering
the action class makes the assumption that we are trying to refer to the 20th month of the year and so returns control to the input page with an accompanying error message. I know this is to do with localization, but I am at a loss as to the best practice for defining locales so that struts knows h

Re: Localization in struts 2

2009-06-23 Thread Dave Newton
Johnson nickel wrote: public String execute() throws Exception{ System.out.println("Inside Index action"); request.getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY, new java.util.Locale("fr","FR")); System.out.println(request.getSess

Re: Localization in struts 2

2009-06-22 Thread Johnson nickel
or >> multiple >> language file??( like this code) >> >> request.getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY, >> new >> java.util.Locale("fr","FR")); >> request.getSession().setAttribute(org.apache.struts.Globals.LOCALE_K

Re: Localization in struts 2

2009-06-22 Thread Dave Newton
E_KEY, new java.util.Locale("en","US")); -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my

RE: Localization in struts 2

2009-06-22 Thread Johnson nickel
cale("en","US")); -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my web-inf/classes dir

RE: Localization in struts 2

2009-06-22 Thread Vishnu Vyasan Nelliparmbil
ay the text in views. -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my web-inf/classes dir where to def

RE: Localization in struts 2

2009-06-22 Thread Johnson nickel
> > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: 22 June 2009 09:58 > To: user@struts.apache.org > Subject: RE: Localization in struts 2 > > > > Hi, > I have tried the sample project 'Struts2i18n&#x

RE: Localization in struts 2

2009-06-22 Thread Muthu Velappan
lieve this will be more manageable than having a single properties file with 1000's of line... ~Muthu -Original Message- From: Vishnu Vyasan Nelliparmbil [mailto:vis...@mun.gov.bh] Sent: Monday, June 22, 2009 12:33 PM To: Struts Users Mailing List Subject: RE: Localization in struts 2

RE: Localization in struts 2

2009-06-22 Thread Vishnu Vyasan Nelliparmbil
. -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 09:58 To: user@struts.apache.org Subject: RE: Localization in struts 2 Hi, I have tried the sample project 'Struts2i18n' it's working fine. But, in my application i have differen

RE: Localization in struts 2

2009-06-21 Thread Johnson nickel
this would be a very difficult job to complete. > > Regards, > Muthu > > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: Thursday, June 18, 2009 1:15 PM > To: user@struts.apache.org > Subject: RE: Localization in struts 2 >

RE: Localization in struts 2

2009-06-18 Thread Muthu Velappan
N O/P and encoding only. Regards, Muthu -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, June 19, 2009 5:25 AM To: Struts Users Mailing List Subject: Re: Localization in struts 2 Martin Gainty wrote: > the lang lookup algorithm uses the provided locale t

Re: Localization in struts 2

2009-06-18 Thread Dave Newton
Martin Gainty wrote: the lang lookup algorithm uses the provided locale to lookup the accompanying text string romance and germanic languages come from the common EUROPEAN base which originate from single byte character set(s) converting to other languages employing Double Byte Character become

RE: Localization in struts 2

2009-06-18 Thread Martin Gainty
#x27;importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: muthu.velap...@aspiresys.com > To: user@struts.apache.org > Subject: RE: Localization i

RE: Localization in struts 2

2009-06-18 Thread Martin Gainty
Inhalt uebernehmen. > Date: Wed, 17 Jun 2009 23:58:15 -0700 > From: sarava...@elogic.co.in > To: user@struts.apache.org > Subject: Re: Localization in struts 2 > > > I have tried to copy the properties files text and opening in notepad > while saving i had selected the enc

RE: Localization in struts 2

2009-06-18 Thread Muthu Velappan
@struts.apache.org Subject: RE: Localization in struts 2 Thank you.. it's working fine. I have other issue.. in my application most of the places i used the images. I want to change images(like username,password) also in hindi. And, using this method, i can display the text from properties file

RE: Localization in struts 2

2009-06-18 Thread Johnson nickel
t the server you > should be able to see the hindi text properly in browser. > > Hope this solves your problem. > > Thanks, > Muthu > > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: Thursday, June 18, 2009 12:28 PM > To

RE: Localization in struts 2

2009-06-18 Thread Muthu Velappan
@struts.apache.org Subject: Re: Localization in struts 2 I have tried to copy the properties files text and opening in notepad while saving i had selected the encoding type as UTF-8. But still i'm not able to see the hindi text in browser. And in my jsp i have added , <%@ page langua

Re: Localization in struts 2

2009-06-17 Thread Johnson nickel
s file. when i try >> to >> execute the application >> it shows some नाम: or ???. It's not actually taken the proper >> file.Give me a suggestions for this >> issue >> -- >> View this message in context: >> http://www.nabble.com/Localization-

Re: Localization in struts 2

2009-06-17 Thread Girish Naik
ated > ResourceBundle_Hi.properties for > hindi language. I had specified the hindi text in this file. when i try to > execute the application > it shows some नाम: or ???. It's not actually taken the proper > file.Give me a suggestions for this > issue > -- > View thi

Localization in struts 2

2009-06-17 Thread Johnson nickel
shows some नाम: or ???. It's not actually taken the proper file.Give me a suggestions for this issue -- View this message in context: http://www.nabble.com/Localization-in-struts-2-tp24086510p24086510.html Sent from the Struts - User mailing list archive at

RE: Struts2 localization

2009-04-24 Thread Martin Gainty
o: user@struts.apache.org > Subject: Re: Struts2 localization > > Martin Gainty wrote: > > the example uses configuration to preset the value of input element > > > > > value="%{configuration.getBoolean('use_access_co

Re: Struts2 localization

2009-04-24 Thread Dave Newton
Martin Gainty wrote: the example uses configuration to preset the value of input element could you provide what configuration is in this context? I'd bet it's a boolean signifying whether or not to use access control. Dave --

RE: Struts2 localization

2009-04-24 Thread Martin Gainty
nt donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 24 Apr 2009 09:49:25 -0400 > From: terry.gard...@sun.com > Subject: Re: Struts2 localization > To: user@struts.apa

Re: Struts2 localization

2009-04-24 Thread Terry Gardner
AccessControlAction.class file. Further, the bundle for English is named AccessControlAction_en.properties, Spanish AccessControlAction_es.properties, and so forth or each language. On Apr 24, 2009, at 9:37 AM, Dave Newton wrote: Johnson nickel wrote: I want to know about struts 2 localizati

Re: Struts2 localization

2009-04-24 Thread Dave Newton
Johnson nickel wrote: I want to know about struts 2 localization. I have seen the struts 2 documentation i'm not getting clear idea. Can anybody > provide the basic steps for implementing this localization concept. Provide a package.properties file for package-level messages.

Struts2 localization

2009-04-23 Thread Johnson nickel
Hi all, I want to know about struts 2 localization. I have seen the struts 2 documentation i'm not getting clear idea. Can anybody provide the basic steps for implementing this localization concept. -- View this message in context: http://www.nabble.com/Struts2-localiz

Re:RE: Localization in Struts 2.0

2009-03-30 Thread xnpeng
action is struts-default >to take care of. > > Your help is much appreciated. > >Regards, >Manoj > > > >-Original Message- >From: Paweł Wielgus [mailto:poulw...@gmail.com] >Sent: 30 March 2009 15:27 >To: Struts Users Mailing List >Subject: Re: Lo

Re: Localization in Struts 2.0

2009-03-30 Thread Paweł Wielgus
Hi, i use only one package.properties file, but read again Localization guide. Best greetings, Pawel Wielgus. 2009/3/30, Manoj Dhore : > Hi Poul, > > Thanks for your help. It worked fine. The problem was with the properties > file name. The property file name was different from the

RE: Localization in Struts 2.0

2009-03-30 Thread Manoj Dhore
: Localization in Struts 2.0 Hi Manoj, when You are accesing You are asking for Action.getTitle() method (or any other on the stack by that name). Simply try s:text or read: http://struts.apache.org/2.x/docs/text.html and http://struts.apache.org/2.x/docs/localization.html Best greetings, Paweł

Re: Localization in Struts 2.0

2009-03-30 Thread Paweł Wielgus
Dhore : > Can someone please provide me with some information about localization > in struts 2. > > > > I am basically trying to have 2 locale : English and German for which I > have created two different properties file. viz : index_en.properties > and index_de.propertie

Localization in Struts 2.0

2009-03-30 Thread Manoj Dhore
Can someone please provide me with some information about localization in struts 2. I am basically trying to have 2 locale : English and German for which I have created two different properties file. viz : index_en.properties and index_de.properties. I have put both these file in the same

Re: ajax:tabPanel and localization

2009-03-13 Thread Mileidys Gonzalez
Maybe u means the AjaxTags... http://ajaxtags.sourceforge.net/

Re: ajax:tabPanel and localization

2009-03-13 Thread Jiří Chaloupka
Users Mailing List Asunto: ajax:tabPanel and localization Hi, I need to use localization in ajax tab, but it is not rendered. When I use: <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix=&qu

RE: ajax:tabPanel and localization

2009-03-13 Thread Alvaro Gomez
What is url for download tablib the ajax? -Mensaje original- De: Jirí Chaloupka [mailto:k...@chalu.cz] Enviado el: Viernes, 13 de Marzo de 2009 02:51 a.m. Para: Struts Users Mailing List Asunto: ajax:tabPanel and localization Hi, I need to use localization in ajax tab, but it is not

Re: ajax:tabPanel and localization

2009-03-13 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }... as you can see, I tried to use some of styles how to render, including %{}, ${} etc... Jiri On Fri 13/03/09 09:51 , Jiří Chaloupka k...@chalu.cz sent: Hi, I need to use localization in ajax tab, but it is not rendered

ajax:tabPanel and localization

2009-03-13 Thread Jiří Chaloupka
Hi, I need to use localization in ajax tab, but it is not rendered. When I use: <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix="ajax" uri="/tags/ajax" %>

Re: localization support for pt_PT and pt_BR

2008-12-18 Thread Paweł Wielgus
Hi riya, eclipse plugin ResourceBoundleEditor might help You with that kind of stuff. Best greetings, Pawel Wielgus. 2008/12/18, riya : > > Hi, > > Right now my application supports localization for portuguese. Resource > bundle name is MessageResources_pt.properties. As I know

localization support for pt_PT and pt_BR

2008-12-18 Thread riya
Hi, Right now my application supports localization for portuguese. Resource bundle name is MessageResources_pt.properties. As I know resource bundle file must follow the same naming convention as the default properties file, except that it must include the two-letter ISO language code of the

Re: S2 - Need advice with Localization

2008-09-18 Thread Laurie Harper
value="%{urlTransportation}"/>"> "> OK. Thanks for getting this far! I am concerned about the amount of JSP that is needed for my single dynamic message. Is that just how it is? Or perhaps my approach is flawed? Does anyone have any advice or perha

Re: S2 - Need advice with Localization

2008-09-18 Thread Paweł Wielgus
uot;;> name="airportCode"> > value="http://www.somewebsite.com/dining.do";> > name="welcomeMessage"> value="airport.name"/> "> > "> value="''&q

S2 - Need advice with Localization

2008-09-18 Thread bob fuller
"> OK. Thanks for getting this far! I am concerned about the amount of JSP that is needed for my single dynamic message. Is that just how it is? Or perhaps my approach is flawed? Does anyone have any advice or perhaps a tutorial suggestion that provides examples 'a

Re: [Struts 2] NetBeans can't find my ResourceBundle properties file (localization issue)

2008-08-11 Thread Ylva Degerfeldt
Thanks a lot for answering again, Dave! I felt that my latest questions hardly deserved an answer since they were too basic. For that reason I have been reading some stuff myself to try to find answers.. (See below.) > If you're calling a JSP page directly (almost never a good idea) it won't go >

Re: [Struts 2] NetBeans can't find my ResourceBundle properties file (localization issue)

2008-08-11 Thread Dave Newton
--- On Mon, 8/11/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote: > Well the action that should be executed after a submit from > the first page (called "NameAndCv.jsp") extends ActionSupport. > > But maybe this problem is due to another thing I'm > insecure about... > > I run my application just b

Re: [Struts 2] NetBeans can't find my ResourceBundle properties file (localization issue)

2008-08-11 Thread Ylva Degerfeldt
Dave Newton <[EMAIL PROTECTED]> wrote: > Does the action being executed extend ActionSupport? > > Dave > > > --- On Mon, 8/11/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote: > >> From: Ylva Degerfeldt <[EMAIL PROTECTED]> >> Subject: [Struts 2] Net

Re: [Struts 2] NetBeans can't find my ResourceBundle properties file (localization issue)

2008-08-11 Thread Dave Newton
Does the action being executed extend ActionSupport? Dave --- On Mon, 8/11/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote: > From: Ylva Degerfeldt <[EMAIL PROTECTED]> > Subject: [Struts 2] NetBeans can't find my ResourceBundle properties file > (localization issue) &

[Struts 2] NetBeans can't find my ResourceBundle properties file (localization issue)

2008-08-11 Thread Ylva Degerfeldt
Hi, I'm trying to use the localization method of having property files that define all the visible text using keys and values (e.g. "nameAndCv.title = Namn och cv"), but the problem is that NetBeans (5.5.1) can't seem to find my properties file (I only have one). I've re

RE: Struts2 and JavaScript localization

2008-04-01 Thread Filippov, Andrey
Thanx a lot! It works.. -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 8:04 PM To: Struts Users Mailing List Subject: Re: Struts2 and JavaScript localization You'd have to put that expression in a tag that can process it. Try something

Re: Struts2 and JavaScript localization

2008-04-01 Thread Chris Pratt
You'd have to put that expression in a tag that can process it. Try something like: wds : new Array('',"tue","wen","thu","fri","sat","sun"), (*Chris*) On Tue, Apr 1, 2008 at 6:40 AM, Filippov, Andrey <[EMAIL PROTECTED]> wrote: > Hello everybody, > > > > > > I have a javascript dropdown c

Struts2 and JavaScript localization

2008-04-01 Thread Filippov, Andrey
Hello everybody, I have a javascript dropdown calendar on one of my struts2 jsp. I have bi-lingual application. So I need to read bundle files to switch language. Please, does someone know how to use these files in javascript. Here is my js snippet:

Re: Regarding Localization Can't Change in Struts2

2008-02-26 Thread sagarlotiya
, right? >>> >>> If that isn't the clue you're looking for, post some configuration: >>> >>> - your interceptor stack >>> - action/result mappings in struts.xml for Action.LOGIN >>> - relevant code from your login page JSP >>> &

Re: Regarding Localization Can't Change in Struts2

2008-02-26 Thread Laurie Harper
his thing using Login Interceptor... Now suppose if user loggin successfully and then try to change the localization it works... but suppose if user fails to loggin and then will try to change the localization it doesn't work... see my code of interceptor public String intercept(ActionI

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread sagarlotiya
ser is valid or not If valid then i will allow them >> to >> login otherwise redirect back that user to login page... >> >> I am achieving this thing using Login Interceptor... >> >> Now suppose if user loggin successfully and then try to change the &g

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread Laurie Harper
is called Login Interceptor in that i am checking for whether user is valid or not If valid then i will allow them to login otherwise redirect back that user to login page... I am achieving this thing using Login Interceptor... Now suppose if user loggin successfully and then try to change the local

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread sagarlotiya
page... I am achieving this thing using Login Interceptor... Now suppose if user loggin successfully and then try to change the localization it works... but suppose if user fails to loggin and then will try to change the localization it doesn't work... see my code of interceptor public S

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread Dave Newton
--- sagarlotiya <[EMAIL PROTECTED]> wrote: > When i will try to change locale without login it don't work. > > But once i will login in to the application i can change the locale. > > I am using Interceptor for login validation , does it creates any problems.? Hard to say. You haven't really pr

Regarding Localization Can't Change in Struts2

2008-02-21 Thread sagarlotiya
hout login... I am using Interceptor for login validation , does it creates any problems.? Than you -- View this message in context: http://www.nabble.com/Regarding-Localization-Can%27t-Change-in-Struts2-tp15628698p15628698.html Sent from the Struts - User mailing list archive at

Re: R: localization issue for Italian language (package_it.properties)

2007-12-05 Thread Antonio Petrelli
2007/12/5, Gigliotti, Andrea <[EMAIL PROTECTED]>: > > I posted the issue more time on the forum because it's has been closed > (WW-2345 ) by someone saying "It is not a bug". That "someone" is me :-) If I understood you well, you say that, if the browser is Italian and you use it to call a webap

R: localization issue for Italian language (package_it.properties)

2007-12-05 Thread Gigliotti, Andrea
lto:[EMAIL PROTECTED] Inviato: mercoledì 5 dicembre 2007 12.36 A: Struts Users Mailing List Oggetto: Re: localization issue for Italian language (package_it.properties) it's the N-th time you post the same stuff. On Dec 4, 2007 6:03 PM, Gigliotti, Andrea <[EMAIL PROTECTED]> wrote:

Re: localization issue for Italian language (package_it.properties)

2007-12-05 Thread GF
it's the N-th time you post the same stuff. On Dec 4, 2007 6:03 PM, Gigliotti, Andrea <[EMAIL PROTECTED]> wrote: > If you have struts 2.0.11 or 2.0.9 you can deploy the > struts2-blank-2.0.11.war file located into the "apps" folder (ex. > C:\struts-2.0.11\apps). > Before deploying the web app you

localization issue for Italian language (package_it.properties)

2007-12-04 Thread Gigliotti, Andrea
If you have struts 2.0.11 or 2.0.9 you can deploy the struts2-blank-2.0.11.war file located into the "apps" folder (ex. C:\struts-2.0.11\apps). Before deploying the web app you have to rename the file package_es.properties in package_it.properties. In this way you will see the bug, that is you'll g

localization issue for "it" extension

2007-12-03 Thread giglian
ge in context: http://www.nabble.com/localization-issue-for-%22it%22-extension-tf4936405.html#a14129526 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: localization

2007-12-03 Thread giglian
e.org/2.x/docs/localization.html >> >> M-- >> - Original Message - >> Wrom: VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQT >> To: >> Sent: Friday, November 30, 2007 8:30 AM >> Subject: localization >> >> >> >>> my web app display message in jsp

Re: localization

2007-12-03 Thread Kropp, Henning
: VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQT To: Sent: Friday, November 30, 2007 8:30 AM Subject: localization my web app display message in jsp page ( using ) always in one language. I have two localization files (package.properties and package_it.properties in the same folder), and I always get the messages in Italian

Re: Struts 2.0.11 localization issue

2007-11-30 Thread Ted Husted
gt; wrote: > > > > my web app display message in jsp page ( using ) > > always in one language. > > I have two localization files (package.properties and package_it.properties > > in the same folder), and I always get the messages in Italian language even > > if the

Re: localization

2007-11-30 Thread mgainty
http://struts.apache.org/2.x/docs/localization.html M-- - Original Message - Wrom: VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQT To: Sent: Friday, November 30, 2007 8:30 AM Subject: localization > > my web app display message in jsp page ( using ) > always in one language. >

localization

2007-11-30 Thread giglian
my web app display message in jsp page ( using ) always in one language. I have two localization files (package.properties and package_it.properties in the same folder), and I always get the messages in Italian language even if the client language is English (en-us). Rather in my production

Struts 2 Datetimepicker component & Localization

2007-11-10 Thread Andriy Kharchuk
Hi All, I'm using struts 2.0.6. I tried configuring s:datetipicker to use languages other than English but no luck. Number of the month is displayed instead of month name for specified language. I tried "fr","de","de-de" (localized resources for these languages are part of struts2-core-2.0.6.jar f

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dave Newton
--- Dean Pullen <[EMAIL PROTECTED]> wrote: > Maybe I simply shouldn't of over-ridden getLocale > from ActionSupport... :D Probably not. I did much the same thing with another ActionSupport-implemented method once; didn't catch it for 3+ weeks :/ Glad you found it! d. -

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
Maybe I simply shouldn't of over-ridden getLocale from ActionSupport... -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED] Sent: 10 October 2007 11:51 To: Struts Users Mailing List Subject: RE: Bug in 2.0.9 regarding validation localization? Well well well I

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
sue. -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED] Sent: 10 October 2007 09:06 To: Struts Users Mailing List Subject: RE: Bug in 2.0.9 regarding validation localization? I've just done a very simple test too and it appears to be working. I'll endeavour to fi

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
2.0.9 regarding validation localization? Dave, Thanks for your efforts. Is it worth me using your setup to test here? And yes I'm using the default interceptor stack. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 10 October 2007 01:10 To: Struts Users Mailing List

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
rding validation localization? Good news/bad news: A simple sanity-check Action class directly extending ActionSupport is working for me under 2.0.9 using properties from either ${action-class}.properties or package.properties, regardless of which of those files (or both) are present. I am not se

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
--- Dave Newton <[EMAIL PROTECTED]> wrote: > I am not setting struts.locale in my struts.xml > (although I *do* get the following WARN which I'll > have to look at :/ > > WARN > org.apache.struts2.config.Settings.getLocale:143 > - Settings: Could not parse struts.locale setting, > substituting de

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
ption > is quite explicit, > I'd file a bug, but there doesn't seem to be any > recent activity on the > Struts 2 JIRA. > > -Original Message- > From: Dean Pullen [mailto:[EMAIL PROTECTED] > Sent: 09 October 2007 21:46 > To: Struts Users Ma

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
--- Dean Pullen <[EMAIL PROTECTED]> wrote: > Or does anyone have any other ideas. The exception > is quite explicit, I'd file a bug, but there doesn't seem > to be any recent activity on the Struts 2 JIRA. There is JIRA activity almost daily. I'll run a simple sanity-check test case and report b

  1   2   >