I found it! The problem was Tobago. I wanted to use it to replace
Tomahawk that I used before. This somehow messed up everything. I
removed all references to it and now the application runs as before.
Just have to convert the Tobago tags back to 'simple' tags.
About the namespace. I noticed that in the index.html I still used the
wrong namespace. For the rest, I hope that I use the right settings for
the new namespace. Is not always that clear to me in all the different
configuration files and web pages what to set. Perhaps there could be an
example of all the files (web.xml, persistence.xml, faces-config.xml,
beans.xml, etc) on the documentation page. I will check on how I could
provide this.
Regards,
Marco
Op 21/02/2025 om 10:27 schreef Richard Zowalla:
Thanks. I fear, that it requires a reproducer to be able to tell you anything
about it.
Had a quick chat with Thomas (Andraschko) about this an it would likely the
best to first check, if this is an issue in MyFaces vs Mojarra or if TomEE
plays a role.
Maybe you can build a reproducer
usinghttps://github.com/primefaces/primefaces-test (Jetty + different JSF
impls) to see, if it also happens in that setup.
Or test with TomEE and Mojarra JSF impl.
From a quick glance on your xhtml code, I don’t see anything obvious.
Gruß
Richard
Side-note: Might be good tu update the namespaces for EE10 as well :-)
Am 20.02.2025 um 22:21 schrieb Marco DE BOOIJ<marcodeb...@gmail.com>:
It is TomEE Plus 10.0.0 and I come from TomEE 8.0.16. This is the template that
I use:
<html lang="#{gebruiker.locale.language}"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:d="http://java.debooy.eu/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<h:head>
<ui:param name="applicatienaam" value="#{doos.applicatieNaam}"
/>
<ui:param
name="path" value="#{doos.path}" />
<title>#{applicatienaam} -
#{i18nTeksten.tekst('doos.titel')}</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,
initial-scale=1" />
<link rel="stylesheet" type="text/css" media="all"
href="/common/css/jquery.dataTables.min.css" />
<link rel="stylesheet" type="text/css" media="all"
href="/common/css/jquery-ui-1.12.1.min.css" />
<link rel="stylesheet" type="text/css" media="all"
href="#{properties.appValue('doos.stylesheet')}" />
<script src="/common/js/jquery-3.5.1.min.js"></script>
<script src="/common/js/jquery.dataTables.min.js"></script>
<script src="/common/js/jquery-ui-1.12.1.min.js"></script>
<script src="/common/js/dOOS.js"></script>
<script src="#{path}/js/common.js"></script>
<link rel="shortcut icon" href="#{path}/favicon.ico" />
<ui:insert name="head" />
</h:head>
<h:body>
<div id="container">
<div id="menu" class="row">
<d:menu bean="#{doos}"
applicatienaam="#{applicatienaam}" path="#{path}" />
</div>
<div id="content" class="row">
<div class="container">
<ui:insert name="body" />
<d:messages />
</div>
</div>
<div id="footer" class="row">
<div class="container">
<div class="is-12 has-text-right
footer">
<d:footer />
</div>
</div>
</div>
<div id="modal" class="row">
<ui:insert name="modal" />
</div>
</div>
<script src="/common/js/Bulma.js"></script>
</h:body>
</html>
The index.xhtml is:
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
template="/WEB-INF/templates/template.xhtml">
<ui:define name="body" />
</ui:composition>
This is the source that is shown by the browser:
<!DOCTYPE html>
<html lang='nl' xmlns='http://www.w3.org/1999/xhtml'>
<head>

<title>dOOS - DOOS Administratie
</title>

<meta charset='utf-8'>

<meta http-equiv='X-UA-Compatible' content='IE=edge'>

<meta name='viewport' content='width=device-width,
initial-scale=1'>

<link rel='stylesheet' type='text/css' media='all'
href='/common/css/jquery.dataTables.min.css'>

<link rel='stylesheet' type='text/css' media='all'
href='/common/css/jquery-ui-1.12.1.min.css'>

<link rel='stylesheet' type='text/css' media='all'
href='/common/css/dOOS-blauw.css'>

<script src='/common/js/jquery-3.5.1.min.js'></script>

<script src='/common/js/jquery.dataTables.min.js'></script>

<script src='/common/js/jquery-ui-1.12.1.min.js'></script>

<script src='/common/js/dOOS.js'></script>

<script src='/doos/js/common.js'></script>

<link rel='shortcut icon' href='/doos/favicon.ico'>
</head>
<body>

<div id='container'>

<div id='menu' class='row'>

<div class='container'>

<nav class='navbar' role='navigation'
aria-label='hoofdmenu'>

<div id='dOOS' class='navbar-item'>
<a class='nav-link'
href='/doos/index.xhtml'>dOOS</a>
</div>

<div id='hoofdmenu' class='navbar-menu'>

<div class='navbar-start'>

<div class='navbar-item has-dropdown
is-hoverable'>

<a id='i18n' class='navbar-link'
href='#'>Administratie</a>

<div
class='navbar-dropdown'>

<a class='navbar-item'
href='/doos/admin/logs.xhtml'>Logging</a>

<a class='navbar-item'
href='/doos/admin/parameters.xhtml'>Parameters</a>

<a class='navbar-item'
href='/doos/admin/quartzjobs.xhtml'>Quartz</a>

</div>

</div>

<div id='/doos/admin/cache.xhtml'
class='navbar-item'>
<a class='nav-link'
href='/doos/admin/cache.xhtml'>Cache</a>
</div>

<div id='/doos/charts/chart.xhtml'
class='navbar-item'>
<a class='nav-link'
href='/doos/charts/chart.xhtml'>Grafiek</a>
</div>

<div class='navbar-item has-dropdown
is-hoverable'>

<a id='i18n' class='navbar-link'
href='#'>I18N</a>

<div
class='navbar-dropdown'>

<a class='navbar-item'
href='/doos/i18n/i18nCodes.xhtml'>I18N Codes</a>

<a class='navbar-item'
href='/doos/i18n/i18nLijsten.xhtml'>I18N Lijsten</a>

<a class='navbar-item'
href='/doos/talen/talen.xhtml'>Talen</a>

<a class='navbar-item'
href='/doos/lokalen/lokalen.xhtml'>Lokalen</a>

</div>

</div>

<div id='/doos/lijsten/lijsten.xhtml'
class='navbar-item'>
<a class='nav-link'
href='/doos/lijsten/lijsten.xhtml'>Lijsten</a>
</div>

<div id='/doos/logging/logging.xhtml'
class='navbar-item'>
<a class='nav-link'
href='/doos/logging/logging.xhtml'>Logging</a>
</div>

<div
id='/doos/parameters/parameters.xhtml' class='navbar-item'>
<a class='nav-link'
href='/doos/parameters/parameters.xhtml'>Parameters</a>
</div>

<div
id='/doos/quartzjobs/quartzjobs.xhtml' class='navbar-item'>
<a class='nav-link'
href='/doos/quartzjobs/quartzjobs.xhtml'>Quartz</a>
</div>

</div>

</div>

<div id='gebruikerinfo' class='navbar-end'>

<div id='gebruiker'
class='navbar-item'>Marco de Administrateur-Gebruiker
<img alt='nl' align='right'
hspace='10px' src='/common/images/taal/nl.png' title='nl' height='9'>
</div>

</div>

</nav>

</div>

</div>

<div id='content' class='row'>

<div class='container'>

<div class='is-12'>

</div>

</div>

</div>

<div id='footer' class='row'>

<div class='container'>

<div class='is-12 has-text-right footer'> Versie:
4.2.0-SNAPSHOT | Bouwdatum: 2025-02-19 22:03:01

</div>

</div>

</div>

<div id='modal' class='row'>

</div>

</div>

<script src='/common/js/Bulma.js'></script>
</body>

</html>
Regards,
Marco
Op 20/02/2025 om 18:58 schreef Richard Zowalla:
Which flavour of TomEE? Maybe put up a sample.
Gruß
Richard
Am 20. Februar 2025 14:21:10 MEZ schrieb Marco DE BOOIJ<marcodeb...@gmail.com>:
I am busy to migrate from Tomee 8 to Tomee 10. Less easy than expected. Now I am able to run
an application on Tomee 10, but a strange translation is done. All LF characters
are replaced by 
. This is the HTML code for the LF. This is annoying,
but the pages get displayed correctly. I also notice that all " are replaced by '. The
bad part is that it replaces some characters in my JavaScript, which makes it unusable.
On Tomee 8 it works. Here is a snippet:
<div class="field is-grouped">
<p
class="control"><a href="#" onclick="return myfaces.oam.submitForm('cacheForm','cacheForm:bekijkProperties');" id="cacheForm:bekijkProperties"
class="button">Bekijken</a>
</p>
<p
class="control"><a href="#" onclick="return myfaces.oam.submitForm('cacheForm','cacheForm:clearProperties');" id="cacheForm:clearProperties"
class="button">Leegmaken</a>
</p>
</div>
On Tomee 10 the same part is:
<div class='field
is-grouped'>

<p
class='control'>
<script
type='text/javascript' src='/doos/jakarta.faces.resource/faces.js.xhtml?ln=jakarta.faces'></script>
<a href='#' onclick='return
myfaces.oam.submitForm('cacheForm','cacheForm:bekijkI18nTeksten');' id='cacheForm:bekijkI18nTeksten'
class='button'>Bekijken</a>

</p>

<p
class='control'>
<a href='#' onclick='return
myfaces.oam.submitForm('cacheForm','cacheForm:clearI18nTeksten');' id='cacheForm:clearI18nTeksten'
class='button'>Leegmaken</a>

</p>

</div>

Did I miss some parameter to be set?
Kind regards,
Marco