EL in web.xml problem (Wildfly 14)
Posted: 27 Nov 2018, 17:29
The stanza in web.xml of;
Does not work when I deploy to Wildfly 14 - the #{...} expression returns an empty string and the theme of course cannot be found.
The GuestPreference bean is definitely part of the deployed WAR and I have tried both the JSF (default) and CDI managed bean approach but neither works.
Is there something in Wildfly 14 that I explicitly need to enable to get this to work ?
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>babylon-#{guestPreferences.theme}</param-value>
</context-param>
The GuestPreference bean is definitely part of the deployed WAR and I have tried both the JSF (default) and CDI managed bean approach but neither works.
Is there something in Wildfly 14 that I explicitly need to enable to get this to work ?