Re: i18n and variable tiles definitions

2007-12-20 Thread Alberto A. Flores
as an object in the model. From: [EMAIL PROTECTED] To: user@struts.apache.org Subject: RE: i18n and variable tiles definitions Date: Thu, 20 Dec 2007 13:47:33 -0800 btw, I've also tried this slight variation: tiles.xml name="titleKey" value="record.d

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
model. > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: i18n and variable tiles definitions > Date: Thu, 20 Dec 2007 13:47:33 -0800 > > > btw, I've also tried this slight variation: > > tiles.xml > name="titleKey

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
"Record Detail: ${recordId}". Also giving me the problem that it is not evaluating the expression. > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: i18n and variable tiles definitions > Date: Thu, 20 Dec 2007 13:41:13 -0800 > > > T

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
out success :-( How can I get the title to show the value of the expression i set in my tiles definition? > Date: Thu, 20 Dec 2007 15:01:20 -0500 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: i18n and variable tiles definitions > > you can do the same thin

Re: i18n and variable tiles definitions

2007-12-20 Thread Alberto A. Flores
Date: Thu, 20 Dec 2007 13:29:32 -0500 From: [EMAIL PROTECTED] To: user@struts.apache.org Subject: Re: i18n and variable tiles definitions May I suggest to instead of using the "title" value in the tiles, use the keys (e.g. "titleKey"), then fetched it using whatev

RE: i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
is if thats bad form. > Date: Thu, 20 Dec 2007 13:29:32 -0500 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: i18n and variable tiles definitions > > May I suggest to instead of using the "title" value in the tiles, use > the keys (e.g. "t

Re: i18n and variable tiles definitions

2007-12-20 Thread Antonio Petrelli
2007/12/20, Alberto A. Flores <[EMAIL PROTECTED]>: > Just a last note: you can use: And your "titleKey" attribute value will be imported as a page-scoped "titleKey" bean. Ciao Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: i18n and variable tiles definitions

2007-12-20 Thread Alberto A. Flores
May I suggest to instead of using the "title" value in the tiles, use the keys (e.g. "titleKey"), then fetched it using whatever approach you want to: Example: resource_en.properties application.title=Hello World Application tiles.xml jsp page (of course this uses unnecessary co

i18n and variable tiles definitions

2007-12-20 Thread Peter Rumstle
Hi everyone, I am running into what appears to be a limitation in tiles. I hope someone has encountered this problem before and knows of a workaround. I have a tiles based layout that accepts a "title" in the tiles definition. My problem is that I need the titl

Re: i18n and same value for 2 different locale

2005-10-25 Thread Christian Bourque
> We have a similar issue that only appears sometimes to our webapp > when its deployed to a websphere server. Our other environments that > run tomcat have never exhibited this problem. Humm weird because I use Tomcat (5.5) here... Anyway I'll let you know If I find anything useful! Christian

RE: i18n and same value for 2 different locale

2005-10-25 Thread Christian Bourque
> I DON'T USE THIS > > Locale.setDefault(Locale.FRENCH); > I USE THIS > > session.setAttribute(Globals.LOCALE_KEY, locale); Me too I'm using the session to store the user's default locale! The first one I'm using is to set a default locale for the JVM! This hasn't the same be

RE: i18n and same value for 2 different locale

2005-10-24 Thread Fulgencio Comendeiro, Eduardo
quot;success"); -Mensaje original- De: Jurn Ho [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 15:29 Para: Struts Users Mailing List Asunto: Re: i18n and same value for 2 different locale I'd be very interested if you find out what is wrong.. We have a similar

Re: i18n and same value for 2 different locale

2005-10-24 Thread Jurn Ho
I'd be very interested if you find out what is wrong.. We have a similar issue that only appears sometimes to our webapp when its deployed to a websphere server. Our other environments that run tomcat have never exhibited this problem. Jurn At 07:52 AM 22/10/2005, Christian Bourque wrote: Hi

[FRIDAY] Re: i18n and same value for 2 different locale

2005-10-21 Thread Dave Newton
Christian Bourque wrote: [...]the value returned was in english for a french locale ??? We know how much the French love speaking English. It's part of our plan for total world domination, one server at a time. Dave - To

i18n and same value for 2 different locale

2005-10-21 Thread Christian Bourque
Hi! I got a weird problem with my application (only in production), the problem is intermittent and I wasn't able to reproduce it yet. Sometimes the messages returned by bean:message aren't correct (english when it should be french and vice versa). I did a test in a jsp for a specific key and the

Re: i18n and l10n issue - need help

2005-09-27 Thread Laurie Harper
ay of creating the property file is wrong. Please advice. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, September 27, 2005 1.54 PM To: user@struts.apache.org Subject: Re: i18n and l10n issue - need help Balasubramaniam, Sezhiyan wrote:

Re: Re: i18n and l10n issue - need help

2005-09-27 Thread Michael Jouravlev
On 9/27/05, Balasubramaniam, Sezhiyan <[EMAIL PROTECTED]> wrote: > Thanks a lot Laurie. > > I have the ApplicationResources_zh.properties in WEB-INF/classes along > with other locale property files. > The issue is, always I am seeing the default locale, even when I am > explicitly changing the brow

RE: Re: i18n and l10n issue - need help

2005-09-27 Thread Balasubramaniam, Sezhiyan
ty file is wrong. Please advice. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, September 27, 2005 1.54 PM To: user@struts.apache.org Subject: Re: i18n and l10n issue - need help Balasubramaniam, Sezhiyan wrote: > We were giving local

Re: i18n and l10n issue - need help

2005-09-27 Thread Laurie Harper
JAPANESE) Even after we added the ApplicationResources_zh.properties and ApplicationResources_ja.properties into the classpath, STRUTS is not picking up the messages. As we are new to this i18n and l10n, we don't have much clue. Are we missing some thing? Is there any set-up needed for suppo

i18n and l10n issue - need help

2005-09-26 Thread Balasubramaniam, Sezhiyan
ApplicationResources_zh.properties and ApplicationResources_ja.properties into the classpath, STRUTS is not picking up the messages. As we are new to this i18n and l10n, we don't have much clue. Are we missing some thing? Is there any set-up needed for supporting the special languages.

i18n and validation

2004-12-08 Thread kjc
Are there any known problem with the Struts validator framework and handling international characters. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: i18n and the database...

2004-12-03 Thread brettconnor
I'd endorse this. UTF-8 or UTF-16 (depending on what languages you're expecting most of your data to be in) will handle anything. If you have Oracle it will also handle anything, it had NLS support before unicode, but your database must be set up with a suitable character set. It is completely a no

Re: i18n and the database... -thanks - 1 more question

2004-12-03 Thread Michael Klaene
Thanks for all of the feedback. I'll think on it some more with these suggestions in mind. I have one additional question, *sort of* on the topic of Message Resources. Suppose there is a database table that holds metadata used to configure some screens, but not all. This table holds the f

Re: i18n and the database...

2004-12-03 Thread Guillaume Cottenceau
Michael Klaene writes: > 3.)I know that some databases, Oracle, and I hear the newest version > of MySQL support UTF-8. I've no experience in this area. Does anyone > have experience with storing text in UTF-8 in the database? This > *seems* like it could be an ideal approach, eliminating alot of

Re: i18n and the database...

2004-12-03 Thread Hubert Rabago
On Fri, 3 Dec 2004 07:50:31 -0800 (PST), Michael Klaene <[EMAIL PROTECTED]> wrote: > 2.)Is anyone using a database-driven approach to this, storing application > labels, etc. in tables and retrieving them. Possibly, by reimplementing > versions of ResourceBundle/MessageResources to go against t

RE: i18n and the database...

2004-12-03 Thread Simon Matic Langford
> > > Hi. > > I'm investigating ways to support multiple languages in my > app, without using the typical > ResourceBundle/MessageResources approach. I was thinking that > I would like to use a database instead. It seems to me that a > large application trying to support multiple languages

RE: i18n and the database...

2004-12-03 Thread Jim Barrows
> -Original Message- > From: Michael Klaene [mailto:[EMAIL PROTECTED] > Sent: Friday, December 03, 2004 8:51 AM > To: [EMAIL PROTECTED] > Subject: i18n and the database... > > > > Hi. > > I'm investigating ways to support multiple languages i

i18n and the database...

2004-12-03 Thread Michael Klaene
Hi. I'm investigating ways to support multiple languages in my app, without using the typical ResourceBundle/MessageResources approach. I was thinking that I would like to use a database instead. It seems to me that a large application trying to support multiple languages with this approach m

Re: I18n and Locale

2004-11-23 Thread Hubert Rabago
ed > area that I can modify or is it spread throughout the Struts framework? > > Scott Mulligan > > > > > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 23, 2004 4:40 PM > To: St

Re: I18n and Locale

2004-11-23 Thread Hubert Rabago
Yes, it's org.apache.struts.Globals.LOCALE_KEY: /** * The session attributes key under which the user's selected * java.util.Locale is stored, if any. If no such * attribute is found, the system default locale * will be used when retrieving internationalized messages. If

I18n and Locale

2004-11-23 Thread Mulligan, Scott H
I have a Struts application that has (for failover reasons) implemented its own SessionFacade to serialize session information to a database. I am trying to figure out if Struts requires the Locale to be saved in the HttpSession or if I can save it in my SessionFacade. Is there any place in the Str

RE: i18n and  

2004-10-14 Thread Hiran.Chaudhuri
> -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 14. Oktober 2004 09:57 > To: Struts Users Mailing List > Subject: Re: i18n and   > > > a user with bad eyes may choose to use bigger fonts > > I have perfect eyesight but Ive

Re: i18n and  

2004-10-14 Thread Andrew Hill
+49-89-54 74 21 99 -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 13. Oktober 2004 23:12 To: 'Struts Users Mailing List' Subject: i18n and   I have a number of property values that will be internationalized and need non-breaking spaces between each wor

RE: i18n and  

2004-10-14 Thread Hiran.Chaudhuri
eimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 13. Oktober 2004 23:12 > To: 'Struts Users Mailing List' > Subject: i18n and   > > I

Re: i18n and  

2004-10-13 Thread Jason Lea
oh and with JSP2.0 you could use the new replace function ${fn:replace(myBean.property," "," ")} -- Jason Lea - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: i18n and  

2004-10-13 Thread Brian Kuhn
Can you use css instead? I usually just use: message goes here or something like it to accomplish the non-breaking spaces. -Brian On Wed, 13 Oct 2004 18:12:25 -0400, Joe Hertz <[EMAIL PROTECTED]> wrote: > I have a number of property values that will be internationalized and need > non-breakin

RE: i18n and  

2004-10-13 Thread Joe Hertz
I heard that support for this was dicey. Is that not the case? >Could you use the CSS rule >.myStyleClass{ > white-space: nowrap >} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: i18n and  

2004-10-13 Thread Joe Hertz
ssage- From: Freddy Villalba A. [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 6:21 PM To: Struts Users Mailing List Subject: RE: i18n and   You're initiative sounds interesting... however, I'm not sure I've fully undestood what you express. Let's see: if what

Re: i18n and  

2004-10-13 Thread Jason Lea
I haven't run into this problem yet, but perhaps it depends on where this sort of thing is used. If the whole chunk of text shouldn't be wrapped then you might be able to use CSS to deal with that problem: http://www.w3.org/TR/REC-CSS2/text.html#propdef-white-space text that shouldn't wrap goes

Re: i18n and  

2004-10-13 Thread Joe Germuska
At 6:12 PM -0400 10/13/04, Joe Hertz wrote: I have a number of property values that will be internationalized and need non-breaking spaces between each word in them. I could put   into each space, but that 1) is going to confuse my native language translators who know nothing of HTML. 2 words in en

RE: i18n and  

2004-10-13 Thread Freddy Villalba A.
ve? Thanx, Freddy. -Mensaje original- De: Joe Hertz [mailto:[EMAIL PROTECTED] Enviado el: jueves, 14 de octubre de 2004 0:12 Para: 'Struts Users Mailing List' Asunto: i18n and   I have a number of property values that will be internationalized and need non-breaking spaces betwe

i18n and  

2004-10-13 Thread Joe Hertz
I have a number of property values that will be internationalized and need non-breaking spaces between each word in them. I could put   into each space, but that 1) is going to confuse my native language translators who know nothing of HTML. 2 words in english could be 3 in language-x). 2) would