Salut,
I convert some screen to screenlet system and during the test to pass
menu on the screelet begin I lose menu link.
My menu-item is :
---------------
<link
target="javascript:ajaxUpdateArea('topArea','CompanyVarious',{'CompanyId':'${parameters.CompanyId}','linkNameTop':'CompanyVarious'})"
url-mode="plain"/>
---------------
when is convert by the HtmlRenderer :
---------
<li><a href="javascript:ajaxUpdateArea(" top-area="" ,{="" companyid="" ,="" linknametop="" :=""
companycoordonates="" })="">Coordonées</a></li>
---------
The problem came from MacroScreenRenderer.java at line 676
-------------
sr.append(menuString.replaceAll("\"", "'"));//FIXME change the " to '
for fix the macro invoke
-------------
All " as replace by ' but ' is already use in the javascript call. I
propose to convert " in other char as | and in ftl macro do a revert
replace ${menuString?replace("|", "\"")}
Any suggestion ? If no I create a Jira to correct it.
Cheers,
Nicolas