Announcement Announcement Module
Collapse
No announcement yet.
Localization question Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Localization question

    Hi,

    I'm trying to localize some messages I get in the searchCriteria object (like in the booking example), which is a flow variable.

    I've tried several ways, none successful so far:
    1. inject a resourceBundle into the variable. No success because the resourceBundle can't be serialized
    2. provide the key from the backing bean, and have the resourceBundle in the view show the translation. I'm getting an EL expression error on this one.

    I'm trying to do the second option in the following way:
    Code:
    #{resourceBundle.get(clausula.descripcion)}
    but EL can't parse it.
    Is there an expression that can pull the trick this way? Or any other suggestions to get localization working?
Working...
X