SEBSERV-444 fixed hopefully last time
This commit is contained in:
parent
c26f235447
commit
87e24b3840
2 changed files with 11 additions and 2 deletions
|
@ -154,7 +154,7 @@ public class MonitoringRunningExam implements TemplateComposer {
|
|||
pageContext.getParent(),
|
||||
new LocTextKey(
|
||||
"sebserver.monitoring.exam",
|
||||
StringEscapeUtils.escapeHtml4(exam.name)));
|
||||
StringEscapeUtils.escapeXml11(exam.name)));
|
||||
|
||||
final Composite tablePane = new Composite(content, SWT.NONE);
|
||||
tablePane.setLayout(new GridLayout());
|
||||
|
|
|
@ -270,7 +270,16 @@ public final class PolyglotPageServiceImpl implements PolyglotPageService {
|
|||
|
||||
return label -> {
|
||||
if (locTextKey != null) {
|
||||
label.setText(i18nSupport.getText(locTextKey));
|
||||
try {
|
||||
label.setText(i18nSupport.getText(locTextKey));
|
||||
} catch (final Exception e) {
|
||||
label.setData(RWT.MARKUP_ENABLED, false);
|
||||
try {
|
||||
label.setText(i18nSupport.getText(locTextKey));
|
||||
} catch (final Exception ee) {
|
||||
label.setText(locTextKey.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (i18nSupport.hasText(locToolTipKey)) {
|
||||
label.setToolTipText(Utils.formatLineBreaks(i18nSupport.getText(locToolTipKey)));
|
||||
|
|
Loading…
Reference in a new issue