For more information, please refer to this announcement explaining best practices for getting answers to questions.
Issue with superscript character (‘) in EL expression
Summary:
Hi experts,
in the Employment page there’s a custom button (html markup component) which on click opens a new page on the browser redirecting the user to a custom report.
Here’s the EL Expression on the component:
#{'<button onclick="window.open(\'../../../xmlpserver/Custom//Human+Capital+Management/Core HR/ORG_TREE.xdo?_xmode=2&_xf=html&_paramsP_DEP_NAME='}#{bindings.Department.inputValue}#{'\',\'_blank\')">Ricerca Reparto</button>'}
The input parameter is the department name.
This configuration causes an unexpected behaviour when in the name of the department the superscript character (‘) is used (eg: CONTABILITA' GENERALE SOCIETA' PARTECIPATE E RAPPORTI INTERCOMPANY). In this case when clicking on the button the new page doesn’t open.