-
1. Re: Warning when using multilanguage
maxandersen Feb 12, 2009 5:34 AM (in response to six-p4ck)hmm...if they are not in your messages file where are they ?
-
2. Re: Warning when using multilanguage
six-p4ck Feb 12, 2009 5:55 AM (in response to six-p4ck)they are in files named:
labels_en.properties
or
labels_fr.properties
or
messages_en.properties
or
messages_en.properties
Sample of labels_en.properties:
fileUpload.addBtn=Add picture
fileUpload.picturePreview=Picture preview
fileUpload.clearPicture=Clear uploaded picture
fileUpload.uploadLimit=Only JPG,PNG and GIF files. Max 5Mo
In my xhtml page i call it:<h:outputText value="#{messages['fileUpload.uploadLimit']}" />
And i have warning on 'fileUpload.uploadLimit'
but when i deploy, he replace well the label by the text with the good language.
It's just the warning who boring me because i have a lot of label then a lot of "fake" warning and i don't see "real" warning -
3. Re: Warning when using multilanguage
akazakov Feb 12, 2009 7:40 AM (in response to six-p4ck)We already have fixed this issue: https://jira.jboss.org/jira/browse/JBIDE-3688
Please use nightly build or you can wait for GA release. -
4. Re: Warning when using multilanguage
six-p4ck Feb 12, 2009 7:49 AM (in response to six-p4ck)Oh great. :D
I use CR1, it's already fixed in CR2?
or it's will be in CR3 (or GA)?
Thx a lot -
5. Re: Warning when using multilanguage
six-p4ck Feb 12, 2009 7:52 AM (in response to six-p4ck)Ok i have look in jira: it's not fixed in CR2 but will be fixed for GA.
sorry.
byebye -
6. Re: Warning when using multilanguage
akazakov Feb 12, 2009 7:53 AM (in response to six-p4ck)Unfortunately no.. We noticed it right after CR2 release :(
GA will be the next one. And the issue is fixed there. -
7. Re: Warning when using multilanguage
akazakov Feb 12, 2009 7:54 AM (in response to six-p4ck)"six-p4ck" wrote:
Ok i have look in jira: it's not fixed in CR2 but will be fixed for GA.
That's right. -
8. Re: Warning when using multilanguage
six-p4ck Feb 16, 2009 8:03 AM (in response to six-p4ck)yes the same probleme with JBossTools-ALL-win32-3.0.0.GA-N200902160021-H1430.zip from here:
http://download.jboss.org/jbosstools/builds/nightly/3.0.0.GA/200902160021/
I'm not sure it's solve well.
He don't know Richfaces.showModalPanel('modalPicture') too.... -
9. Re: Warning when using multilanguage
akazakov Feb 17, 2009 12:47 PM (in response to six-p4ck)Is message.properties file in source folder?
-
10. Re: Warning when using multilanguage
six-p4ck Feb 18, 2009 3:07 AM (in response to six-p4ck)on disk it is in:
workspace/projectName/src/main/labels_en.properties -
11. Re: Warning when using multilanguage
akazakov Feb 18, 2009 12:59 PM (in response to six-p4ck)And you have such reference in components.xml, correct?
<core:resource-loader> <core:bundle-names> <value>labels</value> </core:bundle-names> </core:resource-loader>
-
12. Re: Warning when using multilanguage
six-p4ck Feb 19, 2009 3:12 AM (in response to six-p4ck)Yes i have;
it doesnt work without that.
It's work but i have warning in IDE. -
13. Re: Warning when using multilanguage
akazakov Feb 19, 2009 7:01 AM (in response to six-p4ck)I can't reproduce it :(
Could you report it to JIRA with step-by-step description to reproduce it? And even maybe you can attache your project there. -
14. Re: Warning when using multilanguage
six-p4ck Feb 19, 2009 8:53 AM (in response to six-p4ck)Just download eclispe 3.4.1 , jbosstool 3GA nightly from link before, seam 2.1.1GA and JBOSS AS4.2
Dezip eclipse and jbosstools
Make a new seam project with the wizzard and deploy it.
Add <core:resource-loader> stuff in component.xml
replace text by#{messages['validator.email']}
.
In web site i see "must be a well-formed email address" but i have warning in['validator.email