tag:blogger.com,1999:blog-37642571.post8761857063321867226..comments2024-03-20T02:30:44.457-07:00Comments on Thinking In Software: No message found under code '...' for localeNestor Urquizahttp://www.blogger.com/profile/12351754666722274569noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-37642571.post-11238159959012787712011-08-03T08:49:20.792-07:002011-08-03T08:49:20.792-07:00Thank you mate, I realised the resource bundle act...Thank you mate, I realised the resource bundle actually loads the path in full text. <br />I had my message props under a folder called i18n and it wasn't loading them, changing the basename to i18n/message solved it.Igosukihttps://www.blogger.com/profile/12728746994922505762noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-90543573441120633022011-05-31T14:23:15.422-07:002011-05-31T14:23:15.422-07:00I am sorry but being unfamiliar with Roo I cannot ...I am sorry but being unfamiliar with Roo I cannot be of help I am afraid. I use really core Spring functionality (just what I need) in my custom Framework.Nestor Urquizahttps://www.blogger.com/profile/12351754666722274569noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-79029511755167199662011-05-29T23:32:04.695-07:002011-05-29T23:32:04.695-07:00Hi Nestor Urquiza,
Thanks again. I solved my probl...Hi Nestor Urquiza,<br />Thanks again. I solved my problem. When i format my computer i removed english keyboard input. Only keyboard input is in TR. I've add english input again and problem goes away :)<br />But still i don't understandVolkan Albayrakhttps://www.blogger.com/profile/01509638823555919359noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-28478406577121849432011-05-29T23:01:09.341-07:002011-05-29T23:01:09.341-07:00Hi Nestor Urquiza,thanks for your response.
When i...Hi Nestor Urquiza,thanks for your response.<br />When i add an entity via roo shell there is no problem. It works. But when i add second entity it says<br /><br />No message found under code 'menu_category_symuser_label' for locale 'en_US'.<br /><br />i am only typing roo shell commands inserting entity and fields.<br /><br /><br />my log.roo<br /><br />persistence setup --provider HIBERNATE --database MYSQL <br />entity --class ~.SymRole<br />field string --fieldName roleName --notNull --sizeMax 50<br />field number --fieldName roleValue --notNull --type java.lang.Integer<br />controller all --package ~.controller<br />entity --class ~.SymUser<br />field string --fieldName userName --notNull --sizeMax 100<br />field string --fieldName userSurname --notNull --sizeMax 100<br />controller all --package ~.controller<br /><br />after first "controller all.." there is no problem.<br />after second "controller all.." i am facing that problem.<br />what am i doing wrong?<br /><br />Thank you.Volkan Albayrakhttps://www.blogger.com/profile/01509638823555919359noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-16301126566717624642011-05-29T23:00:27.744-07:002011-05-29T23:00:27.744-07:00is there a way to disable localization? i dont nee...is there a way to disable localization? i dont need itVolkan Albayrakhttps://www.blogger.com/profile/01509638823555919359noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-63678603658747132422011-05-29T18:50:04.148-07:002011-05-29T18:50:04.148-07:00@Volkan, I see no XML in your post. Commonly this ...@Volkan, I see no XML in your post. Commonly this will mean you have no entry for the code in your messages bundle. I would try inserting the below line in a jsp:<br /><br /><spring:message code="menu_category_symgsm_label" text="Nothing"/><br /><br />As it is not defined you will get "Nothing". Then change the code by something else that does show up and confirm the spring tag does work.<br /><br />Your error is related either to a missing code in the message bundle (commonly I use properties files and not XML) or by the spring trying to pull the bundle from a different location in your application.Nestor Urquizahttps://www.blogger.com/profile/12351754666722274569noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-55362117930478219872011-05-29T17:06:45.894-07:002011-05-29T17:06:45.894-07:00Hi,
I get this error but i couldnt solve yet.
...Hi,<br />I get this error but i couldnt solve yet. <br /><br /><br /><br />my xml is like that.<br /><br />No message found under code 'menu_category_symgsm_label' for locale 'en'.<br /><br />Thanks..Volkan Albayrakhttps://www.blogger.com/profile/01509638823555919359noreply@blogger.comtag:blogger.com,1999:blog-37642571.post-43179362365569387622011-05-29T17:06:20.323-07:002011-05-29T17:06:20.323-07:00Hi,
I get this error but i couldnt solve yet.
...Hi,<br />I get this error but i couldnt solve yet. <br /><br /><br /><br />my xml is like that.<br /><br />No message found under code 'menu_category_symgsm_label' for locale 'en'.<br /><br />Thanks..Volkan Albayrakhttps://www.blogger.com/profile/01509638823555919359noreply@blogger.com