JSF Return text from resource-bundle via Java bean

Posted on 2010-11-21
Medium Priority
Last Modified: 2012-05-10
Lets say I have set up resource bundles like this:

I have a bean with a function like this:

public String getStatus() {
   return status;

Lets say status was a string with a text of a given language to be displayed on the web page. Is there a way to get that text from my resource-bundle, so that it would always be in the right locale?
Question by:itnifl
LVL 17

Accepted Solution

sweetfa2 earned 1000 total points
ID: 34185770

Author Closing Comment

ID: 34194151
Thank you!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question