I need to change the session language in the logic of a Rich Dialog. How can I update the labels or other texts on the panel? Especially if the texts are coming from the CMS.

asked 03.08.2012 at 05:17

Karel%20Tauser's gravatar image

Karel Tauser
accept rate: 0%

There is a PublicAPI method that returns content object values for a defined language. Use this to set the values of your labels.

String newLabelText = ivy.cms.getContentObjectValue("/aCmsPath", java.util.Locale.getDefault());

A simpler solution would be to try to define the language before the real dialogs are loaded.


answered 28.08.2012 at 07:31

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 03.08.2012 at 05:17

Seen: 1,379 times

Last updated: 03.08.2012 at 05:17