Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Matt Raible
It sounds like this may be corrupted in AppFuse. For the Struts 2 WAR, we have the following configuration - this is likely what you'll need in order for errors*.properties to get processed correctly. I don't know how "war:inplace" handles this, but you'd think it would recognize it.

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Ömer Başar
errors.required=${getText(fieldName)} alan\u0131 doldurulmas\u0131 gerekli bir alan. Now you can see them correctly. You can find the unicode values of other characters. If you cannot just send a message to me. -- View this message in context: http://www.nabble.com/RequiredString-message-in-str

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
:) You are right but I have a problem with Turkish characters :) When I change the errors_tr.properties in the target/.../WEB-INF/classes as you said the message seems wrong again. It doesn't show the "ı" character correct. For this in appfuse it is written with unicode. The bundles in target/..

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Matt Raible
It's difficult for me to understand your problem because everytime you post a Turkish sentence, I can't read it. Can you explain the problem w/o posting any foreign characters? Thanks, Matt On 4/23/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Kategori Adı alaný doldurulmasý gerekli bir alan.

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
Kategori Adı alaný doldurulmasý gerekli bir alan. When I change the errors_tr.properties in the target/.../WEB-INF/classes as you said it seems like above. I created a file named errors_tr.properties in the resources directory but still no good. Can it be a struts2 defect? mraible wrote: > >

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Matt Raible
This likely gets processed with the native2ascii plugin before publishing in the WAR. Here's the native from AppFuse (hope it comes through): # -- validator errors -- errors.required=${getText(fieldName)} alanı doldurulması gerekli bir alan. errors.requiredField={0} alanı doldurulması gerekli bi

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
Thanks Matt. Yes it is there but it is defined as errors.required=${getText(fieldName)} alan\u00c4\u00b1 doldurulmas\u00c4\u00b1 gerekli bir alan. But it doesn't seem correct. Why can it be? Kategori Adı alanı doldurulması gerekli bir alan. it seems but it must seem Kategori Adı alanı doldur

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Matt Raible
Struts 2 has a separate i18n bundle for error messages. It's named errors.properties and gets merged in from AppFuse WARs. If you look in target/appname-version/WEB-INF/classes, you should see a number of errors*.properties files. Matt On 4/23/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Hi all

[appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
Hi all, I use locale=tr and I had a strange problem when I run the example Person in the tutorials It puts a message between the required field message and I couldn't find what puts it in there. The bundle in the ApplicationResources_tr.xml errors.required={0} gerekli bir alan. The name of th